Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1388849
    Ubermensch
    Participant

    URL: https://charlesmcurry.com/portfolio/
    WordPress Version: 4.7.2
    X Version: 4.6.4
    Cornerstone Version: 1.3.3

    My portfolio is broken. Initially I set up 2 portfolio items before I set up the page. That caused the error below. Then I flushed the cache and that didn’t fix the issue. Then I deleted the portfolio page and the items, and flushed the cache before setting things up the proper way (setting up the page and then the items) and flushing the cache again to be safe. I still have this error and can’t get rid of it to display my portfolio items properly. Please advise. Thank you in advance.

    Warning: in_array() expects parameter 2 to be array, string given in /home/content/p3pnexwpnas03_data02/21/2862421/html/wp-content/themes/x/framework/functions/global/portfolio.php on line 112

    Warning: Invalid argument supplied for foreach() in /home/content/p3pnexwpnas03_data02/21/2862421/html/wp-content/themes/x/framework/functions/global/portfolio.php on line 128

    #1388966
    Rupok
    Member

    Hi there,

    Let’s select category from the Page Settings and save the page. If you want to show all categories then you need to select “All Categories” and save the page.

    Hopefully the problem will be solved.

    Cheers!

    #1389116
    Ubermensch
    Participant

    Rupok! That did the trick! Thanks a lot!

    #1389199
    Joao
    Moderator

    Glad to hear it,

    Cheers

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