I’m using Wordpress 2.7 and wpg2 3.0.7 and was having some difficulties enabling WPG2. It wouldn’t fail, not until ran through the ‘validation’. I would receive:
Here’s the error from G2: Error (ERROR_MISSING_OBJECT)
- in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 143 (GalleryCoreApi::error)
- in modules/core/classes/GalleryCoreApi.class at line 606 (GalleryUserHelper_medium::fetchUserByUserName)
- in /var/www/dragonfly.seattle.wa.us/htdocs/wp-content/plugins/wpg2/wpg2embed.inc at line 229 (GalleryCoreApi::fetchUserByUserName)
It turns out that the issue was that the admin usernames in both Gallery2 and WP needed to match. Since wordpress specifically told me I could not change the username there, I chose to change it in Gallery2. This posed no difficulties and it didn’t drop the user fromt he site admin group. I had a difficult time tracking this one down, and just happened to figure out what was going on because I wasn’t having the issue on another vhost on the same machine… and those usernames matched. So… there ya’ go. I also made the passwords match but I doubt that had anything to do with the resolution of my issue.
Tags: administration,gallery2,geek,wordpress
Categories: spew
1 Comment »
One Response to “wpg2 error: ERROR_MISSING_OBJECT”
I just ran into the same problem. It turns out that the passwords DO have to match. In my case the usernames were the same but the passwords were different. Once I made the passwords between wordpress and gallery2 match everything worked fine.