Warning in php code
I have under the blog message php warnings.
What could be cause of the warnings? Warning: array_keys() expects parameter 1 to be array, string given in /home/public_html/wp-content/themes/montezuma/includes/image_meta.php on line 34 Warning: Invalid argument supplied for foreach() in /home/public_html/wp-content/themes/montezuma/includes/image_meta.php on line 40 |
Did you customize anything:
|
No, I have only installed plug ins.
|
So what happens if you disable all the plugins?
|
All the plugins disabled the warnings are still there.
http://www.steamdok.nl/aha-stappenplan/aha-mets/ Under the image two warnings. the code for showing the image <img src="http://www.steamdok.nl/wp-content/uploads/2012/12/Mets.png" alt="Mets" /> <!--more--> |
check your wp-config.php file to see if you have the following line in it
HTML Code:
define('WP_DEBUG', true); HTML Code:
#define('WP_DEBUG', true); HTML Code:
<?php bfa_image_meta(); ?> |
Thanks for helping me
wp-config define('WP_DEBUG', false); And where can I find postformat.php? |
it's one of the virtual subtemplates in the theme options
also check single.php |
No <?php bfa_image_meta(); ?> code inserted in postformat.php and single.php
|
do an export of yout theme settings (via the theme option) and attach it to a reply
|
1 Attachment(s)
theme settings
|
that works fine in my site.
What type of post is the one that is having the issue? Is there anything unique about it? anything imbedded? Images etc. |
Only one image png, no text
|
All times are GMT -6. The time now is 03:41 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.