-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating to 3.5.2 - Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /app/wp-content/plugins/auth0/lib/WP_Auth0_DBManager.php on line 225 #464
Comments
Hi @jessCmi ... apologies for the trouble here. What version are you upgrading from? And, if you have access to you PHP error logs, can you see if there is anything relevant happening at/around the same time? In short, something during the upgrade process is failing and not being handled well. I made a note on my end to correct that (though this is the first report we've had of it). Worst case, I can provide steps on how to do these updates manually and skip this process to get you on the latest version. Thanks! |
Thanks for the quick response. That error is the only one showing up on the logs for the staging environment. I pasted in the whole thing below in case its helpful.
On my local setup I am also seeing this notice:
Maybe some of this is helpful, I appreciate you checking it out for me. |
@jessCmi - Thank you for that. The I think the best bet here is to manually update the Application that your WP site is using, manually update the settings in your site, manually update the version number, then update the plugin. The steps are below: Under Application Setup here, check step 10 and make sure you have that grant active. On the same page, walk through section called Authorize the Application for the Management API and make all the changes there. Now, go to You now be able to update the plugin without any issues. Once updated, go to the Auth0 settings page in wp-admin and change Advanced > "Widget URL" to That should get you up-to-date with the latest! Let me know if you're still having issues or if that takes care of it for you. |
Fixed in #467, merged into |
I have been trying to upgrade a client's site to the latest version of the plugin for a while now but it keeps killing the staging site. We followed the instructions for updating to 3.5, with the client creating a new API token and adding it to staging. Then when I push the updated plugin, we get this error:
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /app/wp-content/plugins/auth0/lib/WP_Auth0_DBManager.php on line 225
and the site is unusable.Have you all seen this issue? Tell me if you need more info or know how we can deal with this.
The text was updated successfully, but these errors were encountered: