I get this error when trying to login to my wordpress-admin page:
Fatal error: Call to a member function add_menu() on a non-object in /home/content/10/10118010/html/wp-content/plugins/wp-native-dashboard/langswitcher.php on line 28
This is for rogerdavisphoto.com
It's been a long time since I tried to log on. What's this all about?
-RD
Solved! Go to Solution.
As you can see in the error the issue is something to do with a plugin "wp-content/(plugins)/wp-native-dashboard/langswitcher.php on line 28"
In order to regain access to the dashboard I would recommend disabling the plugins.
Here is a guide on how to do so:
http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
knowledge of ftp or phpmyadmin required
As you can see in the error the issue is something to do with a plugin "wp-content/(plugins)/wp-native-dashboard/langswitcher.php on line 28"
In order to regain access to the dashboard I would recommend disabling the plugins.
Here is a guide on how to do so:
http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
knowledge of ftp or phpmyadmin required
Michael,
Thank you so much for the nice reply. I was poking around with FTP the other day but didn't want to change anything in fear I would bring the site down. I was trying to follow the file path given in the error and, as you point out, it's a little different. I was very busy these past few days. Hopefully, tonight I can try out your advice. I will update here on results.
Roger
This was the answer! Thanks so much. The directory path was a bit different but I was able to disable then finish updating everything then all worked fine after that. After I saw your post I also found similar suggestions with a more in-depth Google search, but it was your lead that put me on the right track.
-Roger
Hi @DGTechHindi
The error you received is common when accessing URLs that don't exist. The cause can be anything from invalid URLs, missing files, or redirects to URLs that no longer exist. To confirm the cause, please reach out to our Hosting Support Team.
Diamond J.