Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1217162
    totaloffice
    Participant

    <p>Hello <p>

    We just installed the X-Theme and are trying to set-up the portfolio page. I keep getting the below error :

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

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

    How do i rectify this?

    Thanks

    #1217205
    Christopher
    Moderator

    Hi there,

    Please change number of columns from ‘Portfolio settings’ box, save the page and check again. See the attachment.

    If it doesn’t help, provide us with URL and login credentials in private replay.

    Thanks.

    #1225001
    totaloffice
    Participant
    This reply has been marked as private.
    #1225056
    Lely
    Moderator

    Hi There,

    Maybe you forgot to share your site URL.
    Edit your portfolio page, under PORTFOLIO SETTINGS > select a category(Refer to the screenshort share on the previous reply). Save and then check again. If this doesn’t help, please provide your site URL.

    #1225694
    totaloffice
    Participant

    I managed to fix it, thanks !

    #1225739
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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