Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [fatal-error]

A PHP error that causes WordPress execution to abort.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

Fatal error on random blog posts

Some of our blog posts are randomly being effected and at the footer it's saying "There has been a critical error on this website." I enabled the Debug mode, and there seems to be an issue ...
Mel's user avatar
  • 1
1 vote
1 answer
84 views

Fatal error after update 6.5 - wp-includes/media.php:2134 svg inline sizes equal 0

In several sites (not all) after updating to wp 6.5, I have the following error: Fatal error: Uncaught DivisionByZeroError: Division by zero in web/wp-includes/media.php:2134 Stack trace: #0 web/wp-...
mica's user avatar
  • 125
0 votes
0 answers
27 views

Fatal Error in my WP "Call to undefined function get_option()"

It all started when I installed the Really Simple plugin on my WordPress website and requested the SSL certificate even though I don't have HTTPS. When I realized this error, it was already too late, ...
ben's user avatar
  • 1
0 votes
3 answers
172 views

Fatal error: $post is null?

I am getting this fatal error when I try to add a new post, page or CPT. Warning: Attempt to read property "post_type" on null in /public_html/wp-includes/post.php on line 7502 Warning: ...
ban-geoengineering's user avatar
0 votes
1 answer
133 views

Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object

I am getting this error when I try to place an order with WooCommerce: I tried to deactivate all plugins except WooCommerce and tried to use a basic Wordpress theme. But it is still not fixed. What ...
Denzel van de Graaf's user avatar
0 votes
1 answer
19 views

Can't access dashboard, no access to FTP

A friend was renovating plugins and the WP website crashed. They have lost touch with the developers so they don't know where it's hosted... Any help would be much appreciated. The website is ...
Pavlos Moros's user avatar
1 vote
0 answers
276 views

"Object-cache.php" disables wp_cron and even disables my entire site, and keeps reappearing by itself again after I delete it

I'm having a truly maddening issue. It may involve plugins (or it may not, I don't know) but I believe it is sufficiently technical to be allowed here. A few weeks ago, I needed to revert to a backup, ...
John Smith's user avatar
1 vote
1 answer
1k views

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in Stack trace:\n#0 [internal function]: img_caption_shortcode()

Why am I getting this error in my apache logs? ==> tech.michaelaltfield.net/error.log <== [Wed Aug 23 00:00:09.968658 2023] [php:error] [pid 459909] [client 0.0.0.0:0] PHP Fatal error: Uncaught ...
Michael Altfield's user avatar
0 votes
1 answer
155 views

Learnpress FATAL ERROR

I got this from an update that has crashed my site: Fatal error: Only variables can be passed by reference in /web/htdocs/www.thespectrumofriemannium.com/home/wordpress/wp-content/plugins/learnpress/...
riemannium's user avatar
0 votes
1 answer
150 views

Why PHP Parse unmachet after update to PHP8?

After update to PHP8 I get errors: PHP Parse error: Unmatched '}' in /public_html/wp-content/themes/theme/functions/a_critical_css.php on line 44 The file looks like: <?php if ( ! defined( '...
Tereska's user avatar
  • 31
0 votes
0 answers
32 views

How to efficiently display RSS feed items from thousdans of different sources

I have looked around and there's a lot of static revolving around using RSS feeds so I haven't been able to find a straight answer. I am working on a website that pulls information from pubmed.org. ...
Rafael Rossi Silva's user avatar
0 votes
2 answers
543 views

Wordpress critical error after trying to update to 6.2 - Fatal error: Allowed memory size of 268435456 bytes exhausted

I was updating my site to WordPress to 6.2, but the installation never reached the end. When I refreshed the page I had the message: "There has been a critical error on this website". I've ...
José Dias's user avatar
0 votes
1 answer
52 views

Saving metabox updates causing fatal error

I'm teaching myself from a plugin tutorial dvd, everything was going fine. I've setup custom_post_types and the metaboxes with no issues. The issue i have is a fatal error when i update/publish the ...
fuzzy2023's user avatar
0 votes
1 answer
385 views

"CRITICAL Object of class WP_Error could not be converted to string" using templates with twig

I'm getting the fatal error "Critical Object of class WP_Error could not be converted to string". The theme is developed with twig and php files, to separate logic from visual. Somehow, in ...
Romeu Costa's user avatar
0 votes
0 answers
729 views

Fatal error Class-wp-hook, again, but not sure what's triggering it

We're suddenly getting these errors in some of our page templates: mod_fcgid: stderr: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, ...
Khom Nazid's user avatar
2 votes
1 answer
630 views

How to fix Fatal error: Cannot redeclare get_cli_args() in class-wp-importer.php

I'm getting the following error: Fatal error: Cannot redeclare get_cli_args() (previously declared in C:\xampp\htdocs\wordpress\wp-admin\includes\class-wp-importer.php:276) in C:\xampp\htdocs\...
Pedro Jimenez's user avatar
0 votes
0 answers
195 views

Wordpress core files - PHP Warning: file_exists(): open_basedir restriction in effect

Our live site went down this afternoon with the open_basedir issue. The odd thing being that it doesn't relate to media uploads etc. but to one of the core files. The wp-admin/setup-config.php file ...
alwynmalan's user avatar
-1 votes
1 answer
10k views

Call to undefined function create_function()

An error of type E_ERROR was caused in line 29 of the file /home2/desigjnm/public_html/wp-content/themes/construction/inc/woo-config.php. Error message: Uncaught Error: Call to undefined function ...
Mohamed Azhab's user avatar
0 votes
1 answer
156 views

Fatal error trace not shown in development setup

I recently re-did my local dev setup and have been seeing these types of fatal error warnings: There has been a critical error on this website. Please check your site admin email inbox for ...
kontur's user avatar
  • 152
0 votes
0 answers
871 views

Cannot login into an old wp site. Fatal Error: Cannot create references to/from string offsets

when trying to login to my old wp site I get a fatal error; Uncaught Error: Cannot create references to/from string offsets in /www/htdocs/w0077893/worldstar/wp-includes/user.php:56 Stack trace: #0 /...
Tamarnat's user avatar
0 votes
1 answer
315 views

Unable to access WPadmin, website down

I'm not a dev. This is little too much for me. Can anybody just point me in the direction as to what the hell is going on?? Tried to recover a good working point. Tried disabling Plugins. Increased ...
David H's user avatar
0 votes
1 answer
113 views

kali php problem [closed]

hello everyone I download a php script and when I try to run it kali show me this message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/...
murtadha ghanim's user avatar
1 vote
0 answers
722 views

Front-end major break after upgrade PHP 8.0 [closed]

I just got this major error message on the front-end (Back-end is working). I already tried: Disable all plugins. (No effect) Change theme for a default theme. (Working fine). Change for a third ...
Zagaz's user avatar
  • 11
0 votes
1 answer
36 views

fatal erro in one line if statment in wordpress plugin [Solved]

I hope you have a good day. I searched for the answer to my question but did not find a solution. please guide me I want to use if statment and If the first name of the user is not empty, I will ...
Fardad Farhang's user avatar
0 votes
1 answer
736 views

Fatal Error Class 'WP_Widget_Pages' not found in /home/****/public_html/wp-includes/class-wp-widget-factory.php

So I am not well versed in wordpress and had this site built for a friend and it worked just fine for years. I tried to login to make some changes for him with /wp-admin and got the WSOD. I tried ...
gablett's user avatar
1 vote
0 answers
2k views

Fatal error: Uncaught Error: Call to undefined function wp() in /home/nr4dxonhypyy/public_html/wp-blog-header.php:16

Fatal error: Uncaught Error: Call to undefined function wp() in /home/nr4dxonhypyy/public_html/wp-blog-header.php:16 Stack trace: #0 /home/nr4dxonhypyy/public_html/index.php(17): require() #1 {main} ...
Muhammad Mazhar Iqbal's user avatar
1 vote
1 answer
2k views

Elementor\Scheme_Typography' not found [closed]

I just update my elementor plugin and suddenly my site goes down its display this error. code line error shows: 224. $element->add_group_control( Group_Control_Typography::get_type(), ...
MR. shaikh__92's user avatar
0 votes
0 answers
1k views

Fatal error in wordpress htdocs

I need help with this Fatal error: Array and string offset access syntax with curly braces is no longer supported in /homepages/25/d502821911/htdocs/...../wp-includes/script-loader.php on line 757
Vane's user avatar
  • 1
0 votes
1 answer
36 views

Solution to White Screen of Death that does not require Web Server access?

I'm working on a live website, updated a plugin and got the dreaded White Screen of Death. I know exactly how to resolve the problem; simply deactivate or delete the plugin I upgraded. The problem is ...
sazr's user avatar
  • 357
0 votes
0 answers
85 views

signup_user() throws fatal error

When I use the signup_user() function, Wordpress throws a fatal error. I've allowed user registration in the settings, and was expecting it to work straight out of the box. Has this function been ...
Bonfils's user avatar
0 votes
0 answers
384 views

failed to open stream - wp-includes/blocks/file.php

I am troubleshooting an association with their wordpress site which seems to have made an automatic update. Since then, if I activate the debug I have this (see photos). I went to see the file.php ...
David Satta's user avatar
0 votes
0 answers
487 views

Fatal error: Uncaught Error: Call to undefined function add_action()

I'm working with WP Engine and added their geotarget add on and my redirect is working when I use my VPN in anywhere outside the U.S. which is what I want. However, when I test within the U.S. I get......
Epson_Mil's user avatar
0 votes
0 answers
42 views

Unable to edit with Elementor

After installing Wordpress multisite configuration it is impossible to enter the Elementor edit environment, the following message shows: "the preview could not be loaded...", Unfortunately ...
Windows's user avatar
1 vote
2 answers
161 views

Cannot understand WordPress error message

The error I am getting is: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wptexturize' not found or invalid function name in /home/ifd6vop3yes7/public_html/...
Jeff McBride's user avatar
0 votes
1 answer
491 views

Connecting to upstream failed

I have two small sites using the latest WordPress version installed on an Nginx server with PHP 8.0 (FPM). The server has occasional CPU load at random times of the day and the logs show multiple ...
AndrewL64's user avatar
  • 203
0 votes
1 answer
424 views

date_query in pre_get_posts out of memory

I'm trying to apply a Datefilter for specific categories. Wordpress crashs with a out of memory error. Is this a server problem or is my query wrong? At first I tried query -> (...) but with ...
BennyVenassi's user avatar
0 votes
1 answer
170 views

Wordpress critical error (tried plugin + debug!)

Ever since updating WP to the latest version, the admin panel stopped working. Now, every time attempting to access wp admin just shows this error: There has been a critical error on this website. ...
Zayne's user avatar
  • 1
0 votes
1 answer
2k views

Fatal error: Uncaught Error: Class 'WP_Widget' not found

Anybody got a solution for this? I can't reach admin page or most of the other pages except I can reach the home page. Fatal error: Uncaught Error: Class 'WP_Widget' not found in /home1/thehub/...
David Dylan Gower's user avatar
0 votes
1 answer
28 views

After Plugin deinstallation, Login impossible and line50 error

I have a big problem with my website. I wanted to edit this and have updated and uninstalled plugins that I thought I no longer need (or never needed) but apparently this was not the case. As soon as ...
michelle333's user avatar
2 votes
3 answers
3k views

How can I quickly get a system showing the “Uncaught Error: Class 'WP_Site_Health' not found in” up and running again?

I client of mine recently upgraded a very basic WordPress install to version 5.6.1. While the update seemed to go well, right at the very end the site died with an error that read something like this; ...
Giacomo1968's user avatar
0 votes
1 answer
2k views

"Call to a member function have_posts() on array" error on have_posts();

I'm having the weirdest error. When trying to display a custom loop, I get the following error: Fatal error : Uncaught Error: Call to a member function have_posts() on array in /.../custom-page.php:42 ...
Stef's user avatar
  • 76
0 votes
0 answers
1k views

Fatal error "Call to undefined function is_plugin_active" each time the plugin is activated

I try to activate an extension in Wordpress, but I get an error every time I try to activate it: Here is the problematic code: function sta_pro_first_init(){ include dirname(__FILE__) . '/...
Frenchy35's user avatar
0 votes
2 answers
700 views

Fatal error: wp-settings.php on line 199

I'd love to know how to get back into wp-admin and get my site back online. I contacted GoDaddy tech support again today and the PHP is supposedly updating.. Wordpress has been complaining about the ...
Teale Miller's user avatar
0 votes
1 answer
876 views

Class cannot be found, but it's available in the file, I get: Fatal Error: Uncaught Error: Class 'Blocks\Base\Activation' not found

Class cannot be found, but the declaration is correct. Here is my code: Info-Wheel.php if ( file_exists( dirname( __FILE__ ) . "/vendor/autoload.php" ) ) { require_once dirname( __FILE__ )...
Mähnenwolf's user avatar
0 votes
0 answers
33 views

Not able to access admin console after Installing and activating a plugin

Fatal error: Uncaught Error: Call to undefined method wpdb::check_safe_collation() in /home/xyzcom/public_html/wp-includes/wp-db.php:2668 Stack trace: #0 /home/xyzcom/public_html/wp-includes/option....
user182907's user avatar
0 votes
2 answers
40 views

Fatal error on some pages after cancelling WPSTAGING cloning process

Yesterday I was cloning my WordPress website with WPSTAGING (https://de.wordpress.org/plugins/wp-staging/). Accidentally during the cloning process I closed the browser tab within which the cloning ...
MaxNagler's user avatar
3 votes
1 answer
9k views

Wordpress error - PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()

I'm working on a website that has been met with the WordPress "white screen of death" error, 'The site is experiencing technical difficulties.' I believe this occurred when updating all ...
Aidan Williamson's user avatar
1 vote
1 answer
636 views

WP 5.5 Fatal Error - get_rest_controller() in rest-api.php

I have a site using a customized version of this plugin: https://wordpress.org/plugins/user-tags/ After installing Wordpress 5.5, any of the taxonomy display pages generate this fatal error: PHP Fatal ...
Hugh Mongoose's user avatar
0 votes
1 answer
210 views

Fatal Error when trying to load Permalinks page on WP admin [closed]

I'm receiving the below error when trying to access the Permalinks section on the WP admin. The page does not load and shows the error message instead. I cannot understand what this means or what has ...
Ayrton Sims's user avatar
0 votes
0 answers
1k views

Uncaught Error: Call to undefined function twentytwenty_the_post_meta()

I'm working with WordPress customization, I created a template who has the following code <?php /* Template name: Master Template */ get_header(); ?> <body> <?php if(...
Ali Bhutta's user avatar

1
2 3 4 5 6