Tagged: x
-
AuthorPosts
-
November 6, 2016 at 5:53 pm #1246281
eveallParticipantSo i tried creating a portfolio page via the new page and under properties (as opposed to the portfolio section on the dashboard). When i tried to preview it i got this error:
Warning: in_array() expects parameter 2 to be array, string given in /home/sitename/public_html/blog/wp-content/themes/x/framework/functions/global/portfolio.php on line 112
Warning: Invalid argument supplied for foreach() in /home/sitename/public_html/blog/wp-content/themes/x/framework/functions/global/portfolio.php on line 128
Could you please have a look? I use the child theme, so i’ve never done any changes to this part of the theme.
November 6, 2016 at 5:56 pm #1246282
eveallParticipantThis reply has been marked as private.November 6, 2016 at 11:41 pm #1246547
RupokMemberHi there,
Thanks for writing in! You have enabled filter for the portfolio page but didn’t set any category and that’s why the warning were showing. As you don’t have any category, I have set “All Categories” and saved the page again and the warnings are gone.
Cheers!
November 7, 2016 at 5:37 am #1246915
eveallParticipantAh, thanks so much. So simple for you, not so much for me. Thanks for your help!
November 7, 2016 at 5:43 am #1246923
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1246281 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
