Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #909505
    gristmedia
    Participant

    I’ve created a page titled portfolio, with the menu label ‘Clients’ which can be seen here and I’ve set the page template to ‘Layout – Portfolio’. However, as you can see, the page disaplys two errors instead of my portfolio.

    
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/18/9091918/html/gristmedia/wp-content/themes/x/framework/functions/global/portfolio.php on line 112
    
    Warning: Invalid argument supplied for foreach() in /home/content/18/9091918/html/gristmedia/wp-content/themes/x/framework/functions/global/portfolio.php on line 128
    

    What am I doing wrong? What is broken?

    #910082
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #910129
    gristmedia
    Participant
    This reply has been marked as private.
    #910306
    Rupok
    Member

    Hi there,

    Please disable debugging mode on your site, to do so connect through FTP account and in root directory of WordPress installation find wp-config.php file, open this file and find the following code :

    define('WP_DEBUG', true);

    And change it to :

    define('WP_DEBUG', false);

    Hope it helps.

    #913968
    gristmedia
    Participant

    Thanks!

    #913985
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-909505 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>