Tagged: x
-
AuthorPosts
-
January 2, 2017 at 7:30 am #1312530
EidderfParticipantHi,
After I updated my website to the latest X theme and Cornerstone, I got this error:
Warning: in_array() expects parameter 2 to be array, string given in /home/website/public_html/devsite/wp-content/themes/x/framework/functions/global/portfolio.php on line 112
Warning: Invalid argument supplied for foreach() in /home/website/public_html/devsite/wp-content/themes/x/framework/functions/global/portfolio.php on line 128
Please help as soon as you can please because this error is present in our live site.
I’ll provide my FTP details on the following post.
Thank you
January 2, 2017 at 7:33 am #1312533
EidderfParticipantThis reply has been marked as private.January 2, 2017 at 7:37 am #1312535
EidderfParticipantThis reply has been marked as private.January 2, 2017 at 7:38 am #1312539
EidderfParticipantOnce fixed, kindly explain what you did so I can apply the solution to our live site. Thank you and happy new year!
January 2, 2017 at 8:19 am #1312575
ChristianModeratorThis reply has been marked as private.January 2, 2017 at 11:50 pm #1313704
EidderfParticipantThis reply has been marked as private.January 3, 2017 at 12:36 am #1313732
FriechModeratorHi There,
The issue is, that page is your blog index page but it was using a Layout – Portfolio template. To resolve this issue first navigate to Settings > Reading unassigned the MEDIA as your Posts page.
Then edit your MEDIA page and change the template to No Container | Header, Footer or if you need the title choose the Layout – Fullwidth.
Then navigate back to Settings > Reading and assign the MEDIA as your Posts page again.
Hope it helps, Cheers!
January 3, 2017 at 12:56 am #1313752
EidderfParticipantHi Friech,
Thank you for the quick reply. I did that solution earlier and it did remove the error. However, I would like to have the FILTER functionality of the PORTFOLIO template that is why I’m using that template instead of the NO CONTAINER | HEADER, FOOTER template.
How can I have a filter in MEDIA page without the error?
Thank you
January 3, 2017 at 2:14 am #1313822
Paul RModeratorHi,
Regretfully this isn’t a feature offered in integrity blog. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
January 4, 2017 at 12:25 am #1315331
EidderfParticipantHi Paul,
I understand. No worries.
Thank you
January 4, 2017 at 12:33 am #1315335
NicoModeratorThank you for understanding.
Feel free to ask us again.
Thanks.
March 17, 2017 at 11:59 am #1411225
Amanda PParticipanti have this problem in Ethos.
I loaded the Agency expanded demo and deleted some of the pages so not sure how the portfolio page was set up…but now when i tried to make a new page with Portfolio template, i get an error.
See page: http://www.milanstile.com/work/
How can i make the portfolio items show? Using Ethos stack and all settings from Agency demo.
March 17, 2017 at 11:13 pm #1411821
FriechModeratorHi There @amandapiasta,
Thank you for writing in! What error do you get? I am not seeing any error on that page.
If you get the same error as the TS above, please check/edit your portfolio page and make sure none of the 3 options on the screen is empty.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1312530 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>


