Forum Replies Created
Viewing 1 Topics - 1 through 1 (of 1 total)
Author | Posts |
---|---|
June 30, 2015 at 5:33 pm in reply to:
Bug report: frontend.php:318 53782 | |
Charles | Hello again, I am not asking a question. I am stating that there is error in you code, I am explaining to you what it is, and I am giving you a way to repair it. I am a senior WordPress developper. File: frontend.php, near line 318 The $projects variable is an Array with WP_Post Objects listed by numerical indexes, but the last item of the Array is a key=>value item: RESULT: On the front-end, the output generate a last “project” that is in fact a link to the current page. You need either to check in the loop if the current item is a WP_Post Object or rebuild the output of the CPM_Project->get_projects to store all the WP_Post Objects inside a single sub array. |
Viewing 1 Topics - 1 through 1 (of 1 total)