how can fix the "Fatal Error " while logging in the website - wordpress

i just did a backup, and when i tried to log in the website (/wp-admin) this error appears:
Warning: require(/htdocs/wp-includes/version.php): Failed to open stream: No such file or directory in /htdocs/wp-settings.php on line 33
Fatal error: Uncaught Error: Failed opening required '/htdocs/wp-includes/version.php' (include_path='.:/usr/share/php') in /htdocs/wp-settings.php:33 Stack trace: #0 /htdocs/wp-config.php(86): require_once() #1 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #2 /htdocs/wp-admin/admin.php(34): require_once('/htdocs/wp-load...') #3 /htdocs/wp-admin/index.php(10): require_once('/htdocs/wp-admi...') #4 {main} thrown in /htdocs/wp-settings.php on line 33
for more info this is my website: https://sg-plombier.be/
i don't know what to do now.

Please check if the file exists on the location, if exists then check the file and folder permission.

The file exist o the location, and for the update, I just upload the file (version.php) to the latest version of WordPress. And then these errors appears now:
Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /htdocs/wp-includes/option.php:165 Stack trace: #0 /htdocs/wp-includes/l10n.php(63): get_option('WPLANG') #1 /htdocs/wp-includes/l10n.php(139): get_locale() #2 /htdocs/wp-includes/l10n.php(766): determine_locale() #3 /htdocs/wp-includes/load.php(1395): load_textdomain('default', '/htdocs/wp-cont...') #4 /htdocs/wp-includes/class-wpdb.php(1815): wp_load_translations_early() #5 /htdocs/wp-includes/class-wpdb.php(734): wpdb->db_connect() #6 /htdocs/wp-includes/load.php(562): wpdb->__construct('sgplo1953451', 'hmeqvf7gos', 'sgplo1953451', '91.216.107.183') #7 /htdocs/wp-settings.php(124): require_wp_db() #8 /htdocs/wp-config.php(86): require_once('/htdocs/wp-sett...') #9 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #10 /htdocs/wp-admin/admin.php(34): require_once('/htdocs/wp-load...') #11 /htdocs/wp-admin/index.php(10): require_once('/htdocs/wp-admi...') #12 {main} thrown in /htdocs/wp-includes/option.php on line 165
Fatal error: Uncaught Error: Call to a member function set() on null in /htdocs/wp-includes/l10n.php:784 Stack trace: #0 /htdocs/wp-includes/l10n.php(872): load_textdomain('default', '/htdocs/wp-cont...', 'fr_FR') #1 /htdocs/wp-includes/class-wp-fatal-error-handler.php(47): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /htdocs/wp-includes/l10n.php on line 784

I ran into same error, after I disabled and uninstall w3 Total Cache Plugin, I dont know how somehow this plugin interact with the DB upon installation, I solved this by installing the plugin manually to my cpanel or you can use an ftp to your plugin directory...then booom! the admin loads fine.

Related

wordpress admin login throws error but site is working fine

I am running a wordpress woocommerce site. The site is running fine but i go to admin page and login, it throws the following error below. What is strange is that i cant find any reference to this function wplicense_update_check
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wplicense_update_check" not found or invalid function name in /home/mysite/public_html/wp-includes/class-wp-hook.php:308
Stack trace: #0 /home/mysite/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #1 /home/mysite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /home/mysite/public_html/wp-settings.php(639): do_action('wp_loaded') #3 /home/mysite/public_html/wp-config.php(108): require_once('/home/mysite...') #4 /home/mysite/public_html/wp-load.php(50): require_once('/home/mysite...') #5 /home/mysite/public_html/wp-blog-header.php(13): require_once('/home/mysite...') #6 /home/mysite/public_html/index.php(17): require('/home/mysite...') #7 {main} thrown in /home/mysite/public_html/wp-includes/class-wp-hook.php on line 308

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

Where can I find FPDF? "FPDF error: Some data has already been output..."

Where is FPDF? I use Wordpress and Go Daddy, I am trying to use this WooCommerce PDF Watermark, and I am getting a fatal error that causes the watermark not to be visible.
The error is below, how can I fix this?
Notice: iconv(): Wrong charset, conversion from UTF-8' to ISO-8859-1//TRANSLIT' is not allowed in /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/class-wc-pdf-watermarker.php on line 128
Fatal error: Uncaught Exception: FPDF error: Some data has already been output, can't send PDF file in /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/lib/fpdf/fpdf.php:292 Stack trace: #0 /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/lib/fpdf/fpdf.php(1081): FPDF->Error('Some data has a...') #1 /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/lib/fpdf/fpdf.php(1020): FPDF->_checkoutput() #2 /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/class-wc-pdf-watermarker.php(521): FPDF->Output() #3 /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/class-wc-pdf-watermark.php(610): WC_PDF_Watermarker->watermark(NULL, NULL, '/var/www/wp-con...', NULL, true) #4 /var/www/wp-includes/class-wp-hook.php(303): WC_PDF_Watermark->maybe_render_preview('') #5 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #6 /var/www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #7 /var/www/wp-admin/admin.php(175): do_action('admin_init') #8 {m in /var/www/wp-content/plugins/woocommerce-pdf-watermark/includes/lib/fpdf/fpdf.php on line 292
The server hosting your WordPress site must have the PHP class FPDF installed.
It is generating PDF files free of charge.
That class is one of the requirements of the Plugin "WooCommerce PDF Watermark".
See if you can install it at Go Daddy.
For instance by making FPDF a Composer requirement, if you can use Composer with your hosting package.

unable to login wordpress localhost xaamp

I am getting an error whenever i try to open http://localhost/wordpress/wp-admin/
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\wordpress\wp-includes\wp-db.php:1668 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-includes\wp-db.php(632): wpdb->db_connect() #1 C:\xampp\htdocs\wordpress\wp-includes\load.php(425): wpdb->__construct('root', '', 'practice_debut', 'localhost') #2 C:\xampp\htdocs\wordpress\wp-settings.php(116): require_wp_db() #3 C:\xampp\htdocs\wordpress\wp-config.php(90): require_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\wordpress\wp-load.php(37): require_once('C:\xampp\htdocs...') #5 C:\xampp\htdocs\wordpress\wp-blog-header.php(13): require_once('C:\xampp\htdocs...') #6 C:\xampp\htdocs\wordpress\index.php(17): require('C:\xampp\htdocs...') #7 {main} thrown in C:\xampp\htdocs\wordpress\wp-includes\wp-db.php on line 1668
Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in C:\xampp\htdocs\wordpress\wp-includes\formatting.php:4316 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-includes\class-wp-fatal-error-handler.php(190): esc_url('https://wordpre...') #1 C:\xampp\htdocs\wordpress\wp-includes\class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false) #2 C:\xampp\htdocs\wordpress\wp-includes\class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false) #3 [internal function]: WP_Fatal_Error_Handler->handle() #4 {main} thrown in C:\xampp\htdocs\wordpress\wp-includes\formatting.php on line 4316
when i tried for solutions i came across this one "untick mysqli and tick nd_mysqli"
but i don't know how to do this in localhost xamamp. I am new to wordpress and localhost.
Also when i tried to open http://localhost/phpmyadmin/
i get this error
phpMyAdmin - Error
The mysqli extension is missing. Please check your PHP configuration. See [a#doc/html/faq.html#faqmysql#documentation]our documentation for more information.
Try to use Wampserver64 application. Maybe your problem solved.

Wordpress 'call to undefined function cynic_theme_finder()'

Wordpress problem on my site, the problem is the site is experiencing technical difficulties.
I have this error
Fatal error: Uncaught Error: Call to undefined function
cynic_theme_finder() in
/home/cyste3u7/public_html/wp-content/themes/cynic/header.php:2 Stack
trace: #0 /home/cyste3u7/public_html/wp-includes/template.php(722):
require_once() #1
/home/cyste3u7/public_html/wp-includes/template.php(671):
load_template('/home/cyste3u7/...', true) #2
/home/cyste3u7/public_html/wp-includes/general-template.php(41):
locate_template(Array, true) #3
/home/cyste3u7/public_html/wp-content/themes/cynic/template-modernpage.php(9):
get_header() #4
/home/cyste3u7/public_html/wp-includes/template-loader.php(78):
include('/home/cyste3u7/...') #5
/home/cyste3u7/public_html/wp-blog-header.php(19):
require_once('/home/cyste3u7/...') #6
/home/cyste3u7/public_html/index.php(17):
require('/home/cyste3u7/...') #7 {main} thrown in
/home/cyste3u7/public_html/wp-content/themes/cynic/header.php on line
2
I have installed a new theme and the errors have disappeared, now the error is Stylesheet is missing. any who can assist

Resources