Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Warning in php code


  #1  
Old Dec 18, 2012, 10:36 AM
carpin
 
7 posts · Dec 2012
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

Last edited by carpin; Dec 18, 2012 at 06:49 PM.
  #2  
Old Dec 18, 2012, 11:15 AM
jerryc
 
367 posts · Oct 2012
Florida
Did you customize anything:
  • in your php code?
  • elsewhere?
  #3  
Old Dec 18, 2012, 06:57 PM
carpin
 
7 posts · Dec 2012
No, I have only installed plug ins.
  #4  
Old Dec 18, 2012, 07:16 PM
juggledad's Avatar
juggledad
 
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
So what happens if you disable all the plugins?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 19, 2012, 09:39 AM
carpin
 
7 posts · Dec 2012
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-->
  #6  
Old Dec 19, 2012, 10:14 AM
juggledad's Avatar
juggledad
 
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
check your wp-config.php file to see if you have the following line in it
HTML Code:
define('WP_DEBUG', true);
if so, change it to
HTML Code:
#define('WP_DEBUG', true);
also, did you add
HTML Code:
<?php bfa_image_meta(); ?>
to your postformat.php? if so Wy?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Dec 19, 2012 at 10:18 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] TimThumb Scanner warning quintain Plugins & Atahualpa 2 Apr 12, 2012 03:53 AM
Warning message ! problem drey Header configuration & styling 3 May 14, 2010 11:15 AM
WARNING: Older WP versions being attacked paulae Installing & running WordPress 1 Dec 7, 2009 02:49 AM
BUG: php warning when postmeta is empty buzink Post-Kicker, -Byline & -Footer 0 Oct 12, 2009 06:53 AM
Was it checked with WP 2.7.1? I am getting multiple message like: Warning ... gm10 New Versions, & Updating 3 May 17, 2009 09:01 PM


All times are GMT -6. The time now is 01:52 PM.


Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.