Fatal error: Uncaught Error: Call to a member function add_cap() on null in /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/AddTranslationManagerCapToAdmin.php:10 Stack trace: #0 /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade-run-all.php(11): WPML\Upgrade\Commands\AddTranslationManagerCapToAdmin->run() #1 /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(159): WPML_Upgrade_Run_All->run_admin() #2 /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(147): WPML_Upgrade->maybe_run_admin(Object(WPML\Upgrade\Commands\AddTranslationManagerCapToAdmin)) #3 /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(131 in /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/commands/AddTranslationManagerCapToAdmin.php on line 10
Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-includes/functions.php on line 5663
Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/606382.cloudwaysapps.com/banywgbnnq/public_html/wp-includes/functions.php on line 5663
as said this is not possible to not have admin, so usually it means roles/ capatibilitis of your website roles were messed up or adjusted by some 3rd party plugin that caused the issues.
Please try the suggested fix from my last reply, and let me know how it goes.
Thanks,
Drazen
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.