My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 18: Wordpress 2.6 causes PHP Warnings
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2008


 
Reported by MrCar...@gmail.com, Jul 23, 2008
What steps will reproduce the problem?
1. Upgrade to Wordpress 2.6
2. Re-Enable Goldengate Plugin

What is the expected behavior? What do you see instead?
I expect to see the plugin working as before.

Instead, when I go to write a new post and I click the "Add Media: Add an
Image" link, and then I click on "Upload to Google" or "Your Photos on
Google" link , the "Choose File", "Gallery", and "Media Library" links
disappear and I see PHP warnings in my logs like this:

[Wed Jul 23 20:55:30 2008] [error] [client <IP ADDRESS>] PHP Warning: 
call_user_func_array() [<a
href='function.call-user-func-array'>function.call-user-func-array</a>]:
First argument is expected to be a valid callback, 'media_admin_css' was
given in /var/www/html/wp/wordpress_root/wp-includes/plugin.php on line
311, referer:
http://website.net/wordpress_root/wp-admin/media-upload.php?post_id=-1216864522&type=image&


What version of the plugin are you using?
1.4.5

Please provide any additional information below.

Jul 23, 2008
Project Member #1 xir...@gmail.com
Once again WordPress updates to a new version, totally changes their API, and then
doesn't document anything. Great.

I'll try to get around to investigating what's different this time around...
Status: Accepted
Jul 27, 2008
#2 realro...@gmail.com
This is actually a fatal error. I think it has to do with the include path not
including the Zend framework path.
Jul 27, 2008
#3 realro...@gmail.com
Here's the log, if it helps:


Warning: Zend_Loader::include_once(Zend/Gdata/Photos.php) [zend-loader.include-once]:
failed to open stream: No such file or directory in
/var/www/vhosts/freerobby.com/httpdocs/wp-content/plugins/_zend_gdata/Zend/Loader.php
on line 83

Warning: Zend_Loader::include_once() [function.include]: Failed opening
'Zend/Gdata/Photos.php' for inclusion (include_path='.:') in
/var/www/vhosts/freerobby.com/httpdocs/wp-content/plugins/_zend_gdata/Zend/Loader.php
on line 83

Warning: Zend_Loader::require_once(Zend/Exception.php) [zend-loader.require-once]:
failed to open stream: No such file or directory in
/var/www/vhosts/freerobby.com/httpdocs/wp-content/plugins/_zend_gdata/Zend/Loader.php
on line 87

Fatal error: Zend_Loader::require_once() [function.require]: Failed opening required
'Zend/Exception.php' (include_path='.:') in
/var/www/vhosts/freerobby.com/httpdocs/wp-content/plugins/_zend_gdata/Zend/Loader.php
on line 87
Aug 7, 2008
Project Member #4 xir...@gmail.com
@realrobby - this looks like a different problem. Can you open a separate issue for it?

Version 1.5 fixes the WP2.6 error. It will show up on the downloads page shortly.
Status: Fixed
Aug 11, 2008
#5 MrCar...@gmail.com
xirzec -- sorry it took me so long to get back to you.

Thanks for fixing this, it works great now!
Mar 2, 2009
#6 elmar.o...@gmail.com
And how did you fixed it?

Powered by Google Project Hosting