Tagged: x
-
AuthorPosts
-
February 15, 2017 at 8:01 pm #1372877
Lucas GParticipantHowdy, Just started a new site on the X Theme. All I’ve done so far is install the theme, validate it, and create a portfolio template page and assign it as the home page.
I created one portfolio item and already having issues:
Warning: in_array() expects parameter 2 to be array, string given in /home/content/86/6705786/html/lucas/wp-content/themes/x/framework/functions/global/portfolio.php on line 112
Warning: Invalid argument supplied for foreach() in /home/content/86/6705786/html/lucas/wp-content/themes/x/framework/functions/global/portfolio.php on line 128
The site is lucasgarzoli.com
any ideas? What can I be doing wrong? I thought I did this enough times…
thanks!
February 16, 2017 at 1:33 am #1373144
RupokMemberHi there,
Thanks for writing in! Let’s select the Category from Portfolio Settings and hopefully it will be solved. Also you should disable WP_DEBUG mode for live site.
You can do this by opening
wp-config.phpand updating :define( 'WP_DEBUG' , true );to
define('WP_DEBUG', false);Hope this helps.
Cheers!
February 16, 2017 at 8:02 am #1373534
Lucas GParticipantThanks for your reply.
It would seem its that wp-config.php is already set to define(‘WP_DEBUG’, false);
The error does solve once I pick a category from Portfolio settings. But would I not be able to feature “All Categories” on my main portfolio page?
Thanks again,
February 16, 2017 at 11:04 am #1373784
RupokMemberHi there,
You can select “All Categories” and save the changes.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1372877 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
