Title: image_meta.php array errors! Urgent Help Required!
Last modified: August 20, 2016

---

# image_meta.php array errors! Urgent Help Required!

 *  Resolved [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/)
 * Hello,
 * I am getting errors on my page when I set it’s virtual template to image. I won’t
   be changing template, I just need to get someone’s help!
    This is the error:-
   Warning: array_keys() [function.array-keys]: The first argument should be an 
   array in /home/versatil/public_html/*****Coded*****/wp-content/themes/montezuma/
   includes/image_meta.php on line 34
 * Warning: Invalid argument supplied for foreach() in /home/versatil/public_html/*****
   Coded*****/wp-content/themes/montezuma/includes/image_meta.php on line 40
 * Can someone help me out pls?
    Thanks in advance OverClockeD

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/page/2/?output_format=md)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307070)
 * Can you provide all of `image_meta.php` code within [PasteBin](http://pastebin.com)
   and send us a link to that PasteBin’d page?
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307072)
 * Yes sure, here is it : [http://pastebin.com/qVBRT1cc](http://pastebin.com/qVBRT1cc)
 * _[ Day after Christmas, 6 minutes later and you’re bumping already? Please do
   not bump, that’s [not permitted here](http://codex.wordpress.org/Forum_Welcome#No_Bumping).
   If it’s really that urgent then consider [hiring someone](http://jobs.wordpress.net/).]_
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307073)
 * Try replacing your image_meta.php code (all of it) with this [http://pastebin.com/qdzLLGjV](http://pastebin.com/qdzLLGjV)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307074)
 * Sorry but it Didn’t work, can you tell any other solution please? 🙂
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307076)
 * Only the LINE 34 error is coming see: [http://www.tvznetwork.com/iframe-test/](http://www.tvznetwork.com/iframe-test/)
 * this is the error : Warning: array_keys() [function.array-keys]: The first argument
   should be an array in /home/versatil/public_html/tvznetwork.com/wp-content/themes/
   montezuma/includes/image_meta.php on line 34
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307077)
 * Howabout this? [http://pastebin.com/s62JYWeN](http://pastebin.com/s62JYWeN)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307079)
 * Line 34 error is still there..
    error : Warning: array_keys() [function.array-
   keys]: The first argument should be an array in /home/versatil/public_html/tvznetwork.
   com/wp-content/themes/montezuma/includes/image_meta.php on line 34
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307082)
 * Oh right, I was looking at the wrong line number
 * Try
    [http://pastebin.com/K9im8H19](http://pastebin.com/K9im8H19)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307083)
 * New errors! sad!
    Warning: array_keys() [function.array-keys]: The first argument
   should be an array in /home/versatil/public_html/tvznetwork.com/wp-content/themes/
   montezuma/includes/image_meta.php on line 33
 * Fatal error: Cannot use string offset as an array in /home/versatil/public_html/
   tvznetwork.com/wp-content/themes/montezuma/includes/image_meta.php on line 43
   
   see the web : tvznetwork.com/iframe-test
 * Line 33 and 43 error..
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307084)
 * Howabout [http://pastebin.com/D6pjNmxb](http://pastebin.com/D6pjNmxb)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307085)
 * Fatal error: Can’t use function return value in write context in /home/versatil/
   public_html/tvznetwork.com/wp-content/themes/montezuma/includes/image_meta.php
   on line 33
 * sad! Hope it gets solved in few mins!
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307090)
 * Howabout [http://pastebin.com/hzq39wix](http://pastebin.com/hzq39wix)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307093)
 * New errors#
    Warning: array_keys() [function.array-keys]: The first argument 
   should be an array in /home/versatil/public_html/tvznetwork.com/wp-content/themes/
   montezuma/includes/image_meta.php on line 31
 * Fatal error: Cannot use string offset as an array in /home/versatil/public_html/
   tvznetwork.com/wp-content/themes/montezuma/includes/image_meta.php on line 44
 * Hope this problem will get over :/ ..
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307096)
 * Try [http://pastebin.com/czCugLxd](http://pastebin.com/czCugLxd)
 *  Thread Starter [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * (@overclocked)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/#post-3307098)
 * Another error # [http://www.tvznetwork.com/iframe-test/](http://www.tvznetwork.com/iframe-test/)
   
   Fatal error: Cannot use string offset as an array in /home/versatil/public_html/
   tvznetwork.com/wp-content/themes/montezuma/includes/image_meta.php on line 43

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/page/2/?output_format=md)

The topic ‘image_meta.php array errors! Urgent Help Required!’ is closed to new 
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/montezuma/1.2.8/screenshot.png)
 * Montezuma
 * [Support Threads](https://wordpress.org/support/theme/montezuma/)
 * [Active Topics](https://wordpress.org/support/theme/montezuma/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/montezuma/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/montezuma/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [OverClockeD](https://wordpress.org/support/users/overclocked/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/image_metaphp-array-errors-urgent-help-required/page/2/#post-3307102)
 * Status: resolved