Questions & Answers

Wordpress, can't login to wp-admin, error message on website

my website link is, I cannot login to the wp-admin, when I try i get the following

Fatal error: Uncaught Error: Function name must be a string in /home/adm-snake/webapps/app-santopalillo/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1 Stack trace: #0 /home/adm-snake/webapps/app-santopalillo/wp-settings.php(259): require() #1 /home/adm-snake/webapps/app-santopalillo/wp-config.php(76): require_once('/home/adm-snake...') #2 /home/adm-snake/webapps/app-santopalillo/wp-load.php(50): require_once('/home/adm-snake...') #3 /home/adm-snake/webapps/app-santopalillo/wp-login.php(12): require('/home/adm-snake...') #4 {main} thrown in /home/adm-snake/webapps/app-santopalillo/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 1

Fatal error: Uncaught Error: Call to a member function set() on null in /home/adm-snake/webapps/app-santopalillo/wp-includes/l10n.php:784 Stack trace: #0 /home/adm-snake/webapps/app-santopalillo/wp-includes/l10n.php(872): load_textdomain('default', '/home/adm-snake...', 'es_ES') #1 /home/adm-snake/webapps/app-santopalillo/wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/adm-snake/webapps/app-santopalillo/wp-includes/l10n.php on line 784

Also there seems to be an theme error? at the top of my website there is the following;

Notice: Undefined index: HTTP_REFERER in /home/adm-snake/webapps/app-santopalillo/wp-content/themes/flatsome/flatsome.template#template on line 43

Any ideas on what I can try to fix? Thanks in advance.

2023-01-07 20:29:24
Because you appear to be using a purchased theme, my recommendation would be to contact the theme author and/or try upgrading to the latest version of the theme. You should also make sure that the theme's version is compatible with both your specific version of WordPress, as well as the server's PHP version.
Answers(0) :