wordpress site error after using virus scanner from Cpanel - wordpress

I scanned my website virus from cpanel virus scanner and its scanned some viruses is /logs folder and some in /mail/... folders some mails
I deleted those destroy all those mails and quarantined one file from /logs follder after that my site is not accessing
here is the error
Fatal error: Uncaught Error: Call to undefined function ts_theme_favicon() in /home/worldlink/public_html/wp-content/themes/gon/header.php:17 Stack trace: #0 /home/worldlink/public_html/wp-includes/template.php(688): require_once() #1 /home/worldlink/public_html/wp-includes/template.php(647): load_template('/home/worldlink/...', true) #2 /home/worldlink/public_html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/worldlink/public_html/wp-content/themes/gon/page.php(3): get_header('') #4 /home/worldlink/public_html/wp-includes/template-loader.php(74): include('/home/worldlink/...') #5 /home/worldlink/public_html/wp-blog-header.php(19): require_once('/home/worldlink/...') #6 /home/worldlink/public_html/index.php(17): require('/home/worldlink/...') #7 {main} thrown in /home/worldlink/public_html/wp-content/themes/gon/header.php on line 17

When you see errors with the WordPress core, such as:
/home/worldlink/public_html/wp-includes/template-loader.php
it's time to reinstall WordPress. It's likely there is malicious code in the core files they was referencing one of the files you deleted, and that's why you're suddenly getting errors.
I've found WordFence to be a brilliant plugin for scanning all the files that make up your website (core, theme and plugins) and identifying exactly which files have been compromised.
In the error you reported, your theme is giving errors as well:
/home/worldlink/public_html/wp-content/themes/gon/header.php
Try switching to another theme and seeing if that resolves the issue.

Related

How to solve wp_cache_get Wordpress Xampp Fatal error

I have edited yesterday locally on my wordpress xampp installation several hours of content, texts and images.
The website was running all day.
When I wanted to start Xampp this morning the following message appeared:
Error: MySQL shutdown unexpectedly. While Trying to start Mysql on Xampp
So i Removed the Files which names start with aria_log in folder /xampp/mysql/data/
afterwards I was able to start xampp and call the dashboard in the browser.
now I get the following errors in my website:
Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in
C:\xampp\htdocs\tilders\wp-includes\option.php:165
Stack trace:
#0 C:\xampp\htdocs\tilders\wp-includes\l10n.php(63): get_option('WPLANG')
#1 C:\xampp\htdocs\tilders\wp-includes\l10n.php(139): get_locale()
#2 C:\xampp\htdocs\tilders\wp-includes\l10n.php(766): determine_locale()
#3 C:\xampp\htdocs\tilders\wp-includes\load.php(1395): load_textdomain('default', 'C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\tilders\wp-includes\class-wpdb.php(1198): wp_load_translations_early()
#5 C:\xampp\htdocs\tilders\wp-includes\class-wpdb.php(1858): wpdb->select('tilders', Object(mysqli))
#6 C:\xampp\htdocs\tilders\wp-includes\class-wpdb.php(734): wpdb->db_connect()
#7 C:\xampp\htdocs\tilders\wp-includes\load.php(562): wpdb->__construct('tilders', 'tilders', 'tilders', 'localhost')
#8 C:\xampp\htdocs\tilders\wp-settings.php(124): require_wp_db()
#9 C:\xampp\htdocs\tilders\wp-config.php(99): require_once('C:\\xampp\\htdocs...')
#10 C:\xampp\htdocs\tilders\wp-load.php(50) in C:\xampp\htdocs\tilders\wp-includes\option.php on line 165
Fatal error: Uncaught Error: Call to a member function set() on null in C:\xampp\htdocs\tilders\wp-includes\l10n.php:784
Stack trace: #0 C:\xampp\htdocs\tilders\wp-includes\l10n.php(872): load_textdomain('default', 'C:\\xampp\\htdocs...', 'de_DE')
#1 C:\xampp\htdocs\tilders\wp-includes\class-wp-fatal-error-handler.php(47): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main} thrown in C:\xampp\htdocs\tilders\wp-includes\l10n.php on line 784
So far I have tried the following:
Renamed all plugin folders
have replaced the following folders and main directory files
/wp-admin/
/wp-includes/
and .php files in the site root
renamed the folder w3tc-config to w3tc-config.delete
renamed all theme folders without "twentytwentytwo"
Do you have any ideas?
I have had the tables repaired under mysql admin. And the XAMPP database user had no more rights on his database.
This has solved the error

WordPress file showing error doesn't exist in my WordPress folders

A file directory that doesn't exist is causing a fatal error on my website. The funniest thing is that the folder doesn't exist at all. Below is the error code.
Fatal error: Uncaught Error: Call to undefined function wpcf7_include_module_file() in /usr/www/users/firsttyqsc/wp-content/plugins/contact-form-7/modules/constant-contact/constant-contact.php:8 Stack trace: #0 /usr/www/users/firsttyqsc/wp-content/plugins/contact-form-7/load.php(72): include_once() #1 /usr/www/users/firsttyqsc/wp-content/plugins/contact-form-7/load.php(38): WPCF7::load_module('constant-contac...') #2 /usr/www/users/firsttyqsc/wp-content/plugins/contact-form-7/load.php(105): WPCF7::load_modules() #3 /usr/www/users/firsttyqsc/wp-includes/class-wp-hook.php(305): wpcf7() #4 /usr/www/users/firsttyqsc/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /usr/www/users/firsttyqsc/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /usr/www/users/firsttyqsc/wp-settings.php(450): do_action('plugins_loaded') #7 /usr/www/users/firsttyqsc/wp-config.php(92): require_once('/usr/www/users/...') #8 /usr/www/users/firsttyqsc/wp-load.php(50): require_once('/usr/www/users/...') #9 /usr/www/users/ in /usr/www/users/firsttyqsc/wp-content/plugins/contact-form-7/modules/constant-contact/constant-contact.php on line 8
To get your site back up and running, rename the contact-form-7 plugin folder in wp-content/plugins/contact-form-7 to contact-form-7-2 for example... This will deactivate the plugin and hopefully restore your site back for troubleshooting later. This 'fix' is will not allow the plugin work right away. I recommend reinstalling Contact Form 7 again to see if you can recover your templates. If you have the same problem again, delete the second install folder labeled 'contact-form-7' for tidiness. At this point you will need to delete the backup folder from before, reinstall again, and re-setup your templates.
There appears to be an issue with the Contact Contact integration for Contact Form 7.

How to solve this error related to a WordPress upgrade on the server?

WordPress error on live website:
I can not understand what the error means. This error happened when I updated the WordPress version.
Error like this :
Deprecated: date.php is deprecated since version 5.3.0! Use wp-includes/class-wp-date-query.php instead. in /home/stageberide/public_html/public/blog/wp-includes/functions.php on line 4967
Deprecated: class-oembed.php is deprecated since version 5.3.0! Use wp-includes/class-wp-oembed.php instead. in /home/stageberide/public_html/public/blog/wp-includes/functions.php on line 4967
Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in /home/stageberide/public_html/public/blog/wp-includes/load.php:870 Stack trace: #0 /home/stageberide/public_html/public/blog/wp-includes/load.php(754): wp_is_recovery_mode() #1 /home/stageberide/public_html/public/blog/wp-settings.php(303): wp_get_active_and_valid_plugins() #2 /home/stageberide/public_html/public/blog/wp-config.php(89): require_once('/home/stageberi...') #3 /home/stageberide/public_html/public/blog/wp-load.php(37): require_once('/home/stageberi...') #4 /home/stageberide/public_html/public/blog/wp-admin/admin.php(34): require_once('/home/stageberi...') #5 /home/stageberide/public_html/public/blog/wp-admin/index.php(10): require_once('/home/stageberi...') #6 {main} thrown in /home/stageberide/public_html/public/blog/wp-includes/load.php on line 870
first of all, create backup on your hosting provider. then,
Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

Wordpress Fatal error

I'm new to wordpress, I got this error when trying to update style.css in wordpress theme, i don't think css cause the crash please help me what cause this problem:
Fatal error: Uncaught Error: Class 'td_mobile_theme' not found in
/home/staging/www/wp-content/themes/Newspaper/mobile/includes/td_global_mob.php:20
Stack trace: #0
/home/staging/www/wp-content/themes/Newspaper/mobile/functions.php(8):
require_once() #1 /home/staging/www/wp-settings.php(424):
include('/home/staging/w...') #2 /home/staging/www/wp-config.php(92):
require_once('/home/staging/w...') #3
/home/staging/www/wp-load.php(37): require_once('/home/staging/w...') #4 /home/staging/www/wp-blog-header.php(13): require_once('/home/staging/w...') #5 /home/staging/www/index.php(17):
require('/home/staging/w...') #6 {main} thrown in
/home/staging/www/wp-content/themes/Newspaper/mobile/includes/td_global_mob.php
on line 20
It appears you're either missing a plugin or it has been deactivated.
From looking at the error message and searching for unique terms, I guess you have the Newspaper-Theme installed. Their website mentions "tagDiv Mobile theme" as an optional plugin. Maybe your theme has been modified so that it's no longer optional but required?
See if that plugin is installed and activated.

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.

Resources