Using WP 2.5, Gallery 2.2.4 and WPG2 3.0.6, all fresh installs
Once WPG2 is installed and validated, I get this error on the MAIN PAGE of the site
Fatal G2 error
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 533 (galleryuserhelper_medium::fetchuserbyusername)
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 199 (gallerycoreapi::fetchuserbyusername)
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 105
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2functions.inc at line 510
* in ??? at line 0
* in /home/travel07/public_html/wp-includes/plugin.php at line 311
* in /home/travel07/public_html/wp-includes/general-template.php at line 866
* in /home/travel07/public_html/wp-content/themes/floralia/floralia/header.php at line 17
* in /home/travel07/public_html/wp-includes/theme.php at line 472
* in /home/travel07/public_html/wp-includes/general-template.php at line 8
* in /home/travel07/public_html/wp-content/themes/floralia/floralia/index.php at line 1
* in /home/travel07/public_html/wp-includes/template-loader.php at line 24
* in /home/travel07/public_html/wp-blog-header.php at line 20
* in /home/travel07/public_html/index.php at line 4
Furthermore, the Gallery2 Rewrites section under WPG2 admin has the following error:
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 533 (galleryuserhelper_medium::fetchuserbyusername)
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 199 (gallerycoreapi::fetchuserbyusername)
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2embed.inc at line 105
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 132
* in /home/travel07/public_html/wp-content/plugins/wpg2/wpg2managerewrites.inc at line 59
* in ??? at line 0
* in /home/travel07/public_html/wp-includes/plugin.php at line 311
* in /home/travel07/public_html/wp-admin/admin.php at line 55
I have rewrites disabled under Wordpress, and the Rewrite module in Gallery2 is uninstalled and deleted. Both .htaccess files are empty under /html root (where WP is installed) and /gallery (where the gallery is installed).
Thanks in advance for any help you can provide!
Posts: 1378
I suspect this is the same issue that was posted about a few days ago, and it should be an easy test. Please navigate to the User -> Gallery2 Users and see if you get a similar error..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 4
Do you mean Site Admin > Admin Options > Gallery > Users ? (the place where users are listed)?
If so, the error does not occur there. If that's not what you meant, please clarify, thanks.
Posts: 1378
No I meant as specified in the manual -> Wordress -> Dashboard -> Users -> Gallery2 Users
Anyway I think I have worked out the issue, it seems to be occurring when the link between WP and G2 user cannot be established which normally would result in the G2 user being created but because WP password still being in the wrong 2.5 format, the create gets rejected thus Gallery2 cannot locate a valid user and returns this exception..
I know what I have to do to fix this but it is not a quick change as I have to restructure the logic which is going to take some hours to complete..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 1378
Please see the following thread -> http://gallery.menalto.com/node/77414
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo