Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Kristin Berlehner26,734 Points
Random Array Displayed on Page
I'm not sure if anyone has encountered this error while building a WordPress page. An array is appearing on the page. No other product pages. I cannot seem to delete it through the CMS. I could just rebuild the page, but I'm afraid I'm going to run into this issue again in the future. When I created the page it wasn't there. A plugin bug maybe? Something in the sql database? This is the only product page where it appears.
Here is a link of the screen shot. http://www.testing.tainstruments.com/kristin/randomArray.jpg Highlighted the array in pink, because I stare at blue all day. :)
Without seeing the code behind the page, I can not say for certain what is causing this error, but it also might have to do something that fields in that array are null. This would cause whatever is bieng echoed onto the page to have an error and would instead display the code.
Just taking a guess, would be helpfully if you could post the code behind this page or at least around that section.