my wordpress website is down, how to solve this error - wordpress

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/py9de5hew9qy/public_html/wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/class-redux-core.php on line 460
There has been a critical error on this website. Please check your site admin email inbox for instructions.
how to solve this error

That's obviously caused by the "fuse-social-floating-sidebar" plugin
If you can access the backend, deactivate that plugin, if you can't, erase the folder of that plugin from the "plugins" folder inside "wp-content" and reinstall the plugin.

Related

Strange issue with wordpress - critical error but nothing in debug.log

I have just put some changes to a wordpress theme live, it all works on the staging server but for some reason it's giving a critical error on the live site.
As normal i go and look at the debug.log file and there is no fatal error is showing in that file, and no error_log is showing it either.
Any ideas on why it's not recording the fatal error (usually that is what causes the wordpress critical error)
Probably, the "fatal error" you're talking about occurred before WordPress was initialized. For example, if the code, that triggers the error is located in index.php of your active theme.
In this case, try to find error messages not in wp-content/debug.log, but in webserver logs folder /var/log/httpd/error_log/ or /var/log/apache2/error.log

WordPress on MAMP giving 'Error 500' with internet connection

I have WordPress installed on a MAMP server. After installing some plugins I suddenly got an 'Error 500' but only when my MacBook had wifi connected.
Turning the wifi off fixes the issue, but turning it back on or uploading to a live server causes the issue to return.
After looking through the PHP log, I got:
PHP Parse error: syntax error, unexpected '<', expecting end of file
in /private/var/tmp/theme_temp_setupGlYc25 on line 2
and:
PHP Warning: Use of undefined constant REQUEST_URI - assumed
'REQUEST_URI' (this will throw an Error in a future version of PHP)
in /Applications/MAMP/htdocs/wordpress/wp-
content/themes/THEME_NAME/functions.php on line 48
Uninstalling the plugins that I had recently installed did not fix the issue, nor did re-installing MAMP or moving the installation to a new localhost.
The error is from a WordPress plugin downloaded from an untrusted source.
On installing the plugin, it wrote a number of lines of code in the functions.php file within the theme I was using which was throwing the 'Error 500' as it tried to connect to a server at 'spekt.cc'.
By following the PHP log; googling the Parse error and PHP warning, I saw a post on Medium from someone saying a similar thing happened to them with WordPress attempting to connect to 'spekt.cc'.
Using 'ack' in Homebrew, I searched my WordPress directory and found the affected files. (It had been installed on all themes within the directory)
After removing this PHP code it had inserted and removing the affected plugin, my WordPress is working fine again.

wordpress theme not activating

whenever i activate any theme on my wordpress, i got this error. can anyone help me how to resolve this error?
checking the error.log file i got this error in that file.
unexpected '<' in /tmp/theme_temp_setupOG3lLA on line 2
can anyone tell me how to resolve it???

Suddely files started missing from Wordpress and showing errors

My domain: bharahobe.info
I have installed WordPress in main domain and sydney theme. Everything was okay. Suddenly when I visit my site it shows error messages. Like this:
Warning: require(/home/bharahob/public_html/wp-includes/pomo/mo.php):
failed to open stream: No such file or directory in
/home/bharahob/public_html/wp-settings.php on line 102
Fatal error: require(): Failed opening required
'/home/bharahob/public_html/wp-includes/pomo/mo.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/bharahob/public_html/wp-settings.php on line 102
What should I do now?
If you have access through FTP or SSH, you should log into the server and verify that those files exist. The files may have been deleted by a bot or botched upgrade. The permissions may have changed as well.
If the files are actually missing, you can probably get away with downloading the version of WP you're currently running and replace the missing files.

Fatal error: Class 'WP_Scripts' not found in wp-includes\functions.wp-scripts.php

I have to developed the new wordpress site in my localhost xammp server.
the following fatal error is shown to me Fatal error: Class 'WP_Scripts' not found in wp-includes\functions.wp-scripts.php on line 23.
how to solve this issue, pls anyone help for me.
You have to re-install wordpress again, as somefiles are missing thats why it showing this error.
Do below steps:
Copy your downloaded wordpress repository and paste it again in xamp
server
setup wordpress again
conect with db by adding db configuration
then your issue get resolved
Put this file in wp-includes folder
class.wp-scripts.php
Note: you can find this file from any new wp-setup.

Resources