Questions tagged [fatal-error]
A PHP error that causes WordPress execution to abort.
278
questions
0
votes
0
answers
39
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, ...
1
vote
1
answer
614
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 ...
0
votes
1
answer
110
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/...
0
votes
0
answers
60
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( '...
0
votes
0
answers
19
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. ...
0
votes
2
answers
398
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 ...
0
votes
1
answer
44
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 ...
0
votes
1
answer
244
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 ...
0
votes
0
answers
582
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, ...
1
vote
1
answer
508
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\...
0
votes
0
answers
153
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 ...
-1
votes
1
answer
7k
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 ...
0
votes
1
answer
102
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 ...
0
votes
0
answers
530
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 /...
0
votes
1
answer
252
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 ...
0
votes
1
answer
49
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/...
1
vote
0
answers
663
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 ...
0
votes
1
answer
29
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 ...
0
votes
1
answer
681
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 ...
1
vote
0
answers
1k
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} ...
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(),
...
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
0
votes
1
answer
34
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 ...
0
votes
0
answers
69
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 ...
0
votes
0
answers
313
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 ...
0
votes
0
answers
414
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......
0
votes
0
answers
40
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 ...
1
vote
2
answers
148
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/...
0
votes
1
answer
444
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 ...
0
votes
1
answer
336
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 ...
0
votes
1
answer
160
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. ...
0
votes
0
answers
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/...
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 ...
2
votes
3
answers
2k
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; ...
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 ...
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__) . '/...
0
votes
2
answers
614
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 ...
0
votes
1
answer
727
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__ )...
0
votes
0
answers
32
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....
0
votes
2
answers
34
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 ...
3
votes
1
answer
8k
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 ...
1
vote
1
answer
575
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 ...
0
votes
1
answer
203
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 ...
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(...
0
votes
2
answers
1k
views
There has been a critical error on your website - won't fix no matter what
So I've got the dreaded error too it seems. Apparently it's a very common issue but I can't really seem to get a hang on the fix.
One of the plugins my theme uses is causing the error as per the log I ...
0
votes
1
answer
833
views
Getting Wordpress fatal error when hitting WooCommerce API
I have made a script that extracts products from WooCommerce and a script that update stock in WooCommerce. The shop have about 750 parent products and total number of variants under these parents are ...
-1
votes
1
answer
2k
views
Call to undefined function is_blog_installed(), after creating functions.php [closed]
I'd like to place some custom code in functions.php which I'm unable to do so. Why am I getting the following errors after the creation of (even an empty) functions.php? I'm using WP 5.4.2 with Heroku-...
1
vote
1
answer
1k
views
How to customize the critical error message?
How to customize the critical error message saying:
There has been a critical error on your website.
Learn more about debugging in WordPress.
Instead of using CSS to hide the message it would be ...
0
votes
0
answers
64
views
Reduce Stock Based on Custom Variation Field Rather than Attribute (Working Script)
I currently have a script that works perfectly. The issue is, I want to use the value in a custom field I have created for my variations rather than an attribute. See code:
// reduce stock based on '...
0
votes
0
answers
749
views
Fatal error: Uncaught Error: Class 'WP_REST_Meta_Fields' not found in
I´m pretty new to PHP and cannot solve this error:
Fatal error: Uncaught Error: Class 'WP_REST_Meta_Fields' not found in /var/www/vhosts/thinkotel.com/httpdocs/wp-includes/rest-api/fields/class-wp-...