December 10, 2014 at 7:09 pm #58904
Pages | Add Gallery | Data Source:Product Categories NOT working
With Masonry on, they show up on top of each other with the following error: “Warning: Invalid argument supplied for foreach() in …wp-content/themes/ePix/lib/inc/classes/post-categories-class.php on line 433”
With Masonry off, it’s a little better. At least the photos show but it still isn’t correct and the following error message is displayed: “Warning: Invalid argument supplied for foreach() in …wp-content/themes/ePix/lib/inc/classes/post-categories-class.php on line 433”
Everything was working fine in the previous versions. (You had several that came out relatively quick, I may not have upgraded to those.)
AlanDecember 10, 2014 at 11:57 pm #58929
That’s strange, can you switch through your Data Source and ensure no other sources are selected ie. Portfolio category etc. It appears to be trying to use portfolio category instead of Product. If that doesn’t resolve it, please can you provide your WP login details and I’ll take a look for you. I’m about to board a 12 hour flight, I’ll get to it as soon as I’m back in front of a computer.
Also, it’s worth replacing ePix/js/jquery.isotope.min.js with the following file, it resolves a loading in issue.December 11, 2014 at 2:54 pm #58946
The file fixed the loading problem but I am still getting the post_categories error even though Product Categories is the source. What is strange is the error is on the Architecture and Black and White page but NOT the Landscape page which is setup the same way. I am adding a private post with login information so you can take a look.December 11, 2014 at 2:56 pm #58947This reply has been marked as private.December 11, 2014 at 5:20 pm #58976
I’ve managed to resolve it. It was the Portfolio Data Source causing the issue. It had selected “No data” but the theme still classed this as an option had been selected. Once I had unchecked the Portfolio category “No data” and saved the page, it worked.December 12, 2014 at 6:42 pm #59032
Thank you Andy. Everything seems to be working now. I appreciate all of your help.December 15, 2014 at 3:48 pm #59092
You must be logged in to reply to this topic.