Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1292413
    Rebekka
    Participant

    I updated WordPress and after that I had a very ugly warning on my website. Something about my portfolio:

    Warning: in_array() expects parameter 2 to be array, string given in /public/sites/www.christelijkclubwerk.nl/wp-content/themes/x/framework/functions/global/portfolio.php on line 112

    Warning: Invalid argument supplied for foreach() in /public/sites/www.christelijkclubwerk.nl/wp-content/themes/x/framework/functions/global/portfolio.php on line 128

    #1292416
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please edit your portfolio page and make sure none of the option on portfolio settings are left blank.


    screenshot

    Let us know how it goes.

    Cheers!

    #1292422
    Rebekka
    Participant
    This reply has been marked as private.
    #1292424
    Rebekka
    Participant
    This reply has been marked as private.
    #1292439
    Friech
    Moderator

    Hi There,

    Navigate to Settings > Reading, do not assign any page on the Posts page: drop down (just choose the -Select-).

    Then edit this page: http://christelijkclubwerk.nl/lesbrieven/ and see what template it was using. If it is a Layout – Portfolio change it to Default.

    Then set that page back as your Posts page:

    Let us know how it goes.

    Cheers!

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