Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Warning in php code


  #1  
Old Dec 18, 2012, 09: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 05:49 PM.
  #2  
Old Dec 18, 2012, 10:15 AM
jerryc
 
367 posts · Oct 2012
Florida
Did you customize anything:
  • in your php code?
  • elsewhere?
  #3  
Old Dec 18, 2012, 05:57 PM
carpin
 
7 posts · Dec 2012
No, I have only installed plug ins.
  #4  
Old Dec 18, 2012, 06:16 PM
juggledad's Avatar
juggledad
 
23,765 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, 08: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, 09:14 AM
juggledad's Avatar
juggledad
 
23,765 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 09: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 02:53 AM
Warning message ! problem drey Header configuration & styling 3 May 14, 2010 10:15 AM
WARNING: Older WP versions being attacked paulae Installing & running WordPress 1 Dec 7, 2009 01:49 AM
BUG: php warning when postmeta is empty buzink Post-Kicker, -Byline & -Footer 0 Oct 12, 2009 05: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 08:01 PM


All times are GMT -6. The time now is 01:07 AM.


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