Questions tagged [errors]

Not all errors one encounters while working with WordPress are actually caused by WP. When asking about errors be as specific as possible. Just telling which error you get, is usually not enough to help you tracking it down.

Filter by
Sorted by
Tagged with
1 vote
1 answer
7k views

Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work

I've got the proper debugging constants defined in wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', true); define('WP_DEBUG_LOG', true); But they're not doing a darn thing. When I ...
0 votes
0 answers
7 views

WordPress editor mobile view crashes, says: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node

I am using the latest version of WordPress (6.5.2) and regardless of which theme I am using or if I turn the plugins all off, whenever I try to enter the tab or mobile responsive view on the page ...
0 votes
1 answer
1k views

custom error message or redirect to custom page if any error occurs

I want to create custom message when site got any error or broken or it is also be helpful if I can redirect site url to my custom page when site got error for example "www.demo.com" to "www.demo.com/...
0 votes
3 answers
3k views

Fatal error: Call to undefined function wp_raise_memory_limit()

I got this error when I tried to open my dashboard after doing an automatic Wordpress update. My website is still showing up normally; I just can't access the dashboard to work on it. Previous answers ...
3 votes
1 answer
2k views

Too many datadabse connections - upper ceiling mysql

We run a high traffic blog with around 500 real-time users and 10000 posts. We are hosted by self on VPS - 16gb, 4 core with separate mysql DB server - 4gb, 2 core; both SSD. No problem with hosting ...
1 vote
1 answer
2k views

Wordpress shows error related to allow_url_fopen

I just installed wordpress with plugins, everything works find except on a 'contact me' page, where I can see an error like this. Warning: getimagesize(): php_network_getaddresses: getaddrinfo ...
0 votes
1 answer
768 views

Custom CSS is overwritten by WordPress?

So I made a new website for a club/ organization. My task is to update an old website on WordPress with this new website. I transferred all my HTML pages and CSS/JS files. However, some of my custom ...
0 votes
1 answer
17 views

Redirect Issue on a link from the client side

I have implemented header menu using the WordPress menu tab and it is working correctly on my local pc but client from usa and other countries have frequently complaint that the sales button on the ...
1 vote
1 answer
61 views

Error logging in wordpress

I set define( 'WP_DEBUG', true ); & define('WP_DEBUG_LOG', true);. But error_log('hello'); is not printing any thing. What could be the issue ?
0 votes
1 answer
3k views

One page is showing the "Index of /" error

What could be the cause for this? I re-installed WordPress and that didn't fix it, I switched to a default theme, same problem. This is just for one page, all other pages work okay! Please advise :)
4 votes
1 answer
2k views

WordPress “Link has expired” error on updating posts

I'm maintaining a WordPress site on GoDaddy for a client and they started to get the "this link has expired error" when they saved a post. It does not happen when I upload a file. However, I am ...
0 votes
0 answers
26 views

Uncaught DivisionbyZeroError: Wp_reschedule_event

I've really been struggling with my wordpress running smoothly and have been constantly dealing with a variety of issues. One thing that i continue to experience is Cron scheduled tasks will end up ...
0 votes
2 answers
973 views

Error 403 on wp-admin - Redirection to upgrade.php

One of my customers reported me an error on its website. we loaded a backup because it is a production site, however, since then, we no longer have access to wp-admin. The message I get when I go to /...
14 votes
6 answers
49k views

No Error Log File, no debug info

My error when writing a plugin for uploads and yes, I can debug. But it just jumps directly from this line to destruct the end of my wp-config.php EDIT: // Enable WP_DEBUG mode define('WP_DEBUG', ...
0 votes
0 answers
13 views

How to resolve status code: 410 from Pagespeed insights for the wordpress website

I activate the plugin Seraphinite Accelerator on the website “http://tangentconsulting.ca”. After the activation, I changed the URL from our-story-2 to our-story. The Our Story page was working fine ...
0 votes
1 answer
2k views

I imported an restore an database and It shows #1067 - Invalid default value for 'user_registered'

My database tables become corrupted so for fixing them I restored data and It shows an error #1067 - Invalid default value for 'user_registered' how can I fix it.
0 votes
1 answer
1k views

Custom form validation

I have created a basic form which can be POST to admin-post.php and also submitted via an AJAX call to admin-ajax.php. Both submissions work correctly, use the nonce for a little extra security, and I ...
0 votes
0 answers
10 views

No WP-Content Folder in Website Files, No Ability to Disable Plugins Manually

While updating some plugins on my Wordpress site recently, I encountered a critical error, which I suspect to be the result of an update failure. I can't access WP-Admin and so used Filezilla to try ...
0 votes
3 answers
3k views

Error: Attempt to read property "ID" on null

I have the following error Attempt to read property "ID" on null in this code snippet global $wp_query; $categories = get_the_terms($wp_query->post->ID, 'live_stream_categories'); $...
1 vote
2 answers
2k views

Can't create new pages in wordpress

I have ran a php code to remove some pages of the database, the code worked fine and i have left with the optmised pages i needed. However, now i can’t create new pages at all. This happened with 2 ...
0 votes
1 answer
6k views

PHP is_embed error showing up

I can't seem to find what's causing the error to show up when I enabled the debug mode on my WordPress website that is installed locally. Notice: is_embed was called incorrectly. Conditional query ...
1 vote
1 answer
2k views

Getting error when using wp_insert_post()

When I use wp_insert_post() I get a white page that says "Are you sure you want to do this?". I get no PHP errors. I am using this outside of wordpress and have wp-load.php as well as /wp-admin/...
0 votes
1 answer
27 views

How to hook into debug.log?

I know that WordPress somehow with propers flags in wp-config.php direct errors to `error.log. I want to get notified when an error happens and logged in this file. I was going to monitor it, but if ...
3 votes
3 answers
18k views

What causes the "max_user_connections" warning on WordPress frontend?

I'm currently getting this error in the front-end only (not inside /wp-admin): Warning: mysqli_real_connect(): (HY000/1203): User xxx already has more than 'max_user_connections' active connections in ...
0 votes
0 answers
14 views

Installation échouée : Le téléchargement a échoué. No working transports found

i already have that extensions extension=php_openssl.dll and i add the other extension extension=php_curl.dll and i still get this error when i want to install a theme Installation échouée : Le ...
0 votes
1 answer
509 views

"Unexpected response from server" error when trying to upload any .mp4 file over 100MB

This WordPress site is being hosted by BlueHost (with cPanel). It is running on WP version: 6.2.2, and PHP Version ea-php74. According the the WP's media 'add new' page, the Maximum upload file size ...
5 votes
1 answer
2k views

WSOD but WP_DEBUG not giving any errors

I am running Wordpress on a WAMP stack and I'm trying to debug a WSOD error, which I think is a PHP error, as I have tried disabling all my plugins and themes and they don't seem to be the problem. I'...
0 votes
0 answers
59 views

I'm getting this 'PHP Deprecated' issue

PHP Deprecated: Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /container/application/...
3 votes
1 answer
6k views

Error: MySQL shutdown unexpectedly. XAMPP local conf running WordPress

I have a xampp configurated locally to run wordpress. I must have done something wrong when fixing some issues 'cuz at the end, I got stuck with the following log from mysql database. 2015-11-10 15:...
0 votes
1 answer
50 views

Database Errors since site updated to Wordpress 6.4.3

I have stored my site in a cloud backup with localwp. Later I restored this backup into a new site. When I am inside the admin area I can see in the error log that errors are produced when accessing ...
3 votes
1 answer
2k views

How to resolve error “Cookies are blocked due to unexpected output.”?

I am facing an error as per below at admin panel login. "ERROR: Cookies are blocked due to unexpected output." I've tried several solutions like, Log checking (No logs are showing in log file) ...
1 vote
1 answer
811 views

How to eliminate permalink prefix in Wordpress Multisite

I have installed the multisite plugin for Wordpress; I have one website in English, and the other in French. However, when I go to Settings -> Permalinks, my English website shows this: I don't ...
0 votes
1 answer
1k views

Fatal error: Cannot redeclare load_stylesheets() (previously declared in

Updated Question: I’ve declared a basic child theme. As I create a function to enqueue stylesheets, my website crashes and gives me a Fatal error: Cannot redeclare thando_stylesheets() (previously ...
0 votes
1 answer
22 views

write developer debug statements to separate log

Is there a way to write the debugging I do in my code (ex: error_log("$msg"); to a different log file than the rest of the system-generated logging that gets written to /wp-content/debug.log?...
0 votes
1 answer
1k views

Failed to load resource: the server responded with a status of 431 ()

This error appeared only yesterday. When I try to do anything in admin except adding posts/pages, there is a white screen and chrome console reveals. I can't update wordpress core, can't update/...
0 votes
1 answer
43 views

Can not access .txt file which I uploaded through media

I can not access my uploaded .txt in Wordpress, it gives a 403 access denied error. I can access .png files however, why not .txt files? I uploaded my file here: And got the URL here (I click copy, ...
0 votes
0 answers
88 views

Undefined constant ABSPATH

Only when I access the main url does this WordPress error appear and the content I edited does not appear I looked in the error.log file and the following error appears PHP Fatal error: Uncaught ...
0 votes
1 answer
1k views

WordPress 404 Images - Images not found after deleted from media

I am trying to develop the website to find images that have been deleted from the media library as they were not needed. These Images that I have deleted have previously been on pages but have been ...
1 vote
0 answers
14 views

Maximum execution time exceeded

I recently installed the Fatal Error Notify plugin on my WordPress because I had a feeling something was off. Turns out, at least twice per day, I'm getting the following error: Maximum execution time ...
0 votes
1 answer
3k views

How do I fix the 403 error for wp-admin/admin-ajax.php?

When I use the Safari console, I always get the following notification: failed to load the resource: the server responded with a status of 403 for wp-admin/admin-ajax.php Does anyone know how to ...
0 votes
1 answer
2k views

"A post type mismatch has been detected" Error when updating custom post

I have started getting this error when updating a custom post type on a clients site. I've never seen this error before and can't find any reference to it in Google search. Can anyone point me in ...
3 votes
1 answer
2k views

Wordpress showing install screen after max_questions error

I am working in a PHO environment in Heroku with ClearDB. At some point (really low), I get this error: WordPress database error User 'XX' has exceeded the 'max_questions' resource (current value: ...
0 votes
0 answers
97 views

PHP Warning: Undefined array key “HTTP_REFERER”

I tried to read similar questions, but not easy for me to understand. I have hundreds, maybe thousands, of those warnings my error_log, generated multiple times each day. That’s the error. [14-Jan-...
0 votes
1 answer
2k views

There has been a critical error on your website

I have uploaded my WordPress website in cPanel. My plugins and all were working well until after a few months I logged in to update my website and its plugins. Now I can't install, remove, or modify ...
2 votes
4 answers
16k views

wp-admin 302 redirects

I have a new install of WordPress on my Mac mini server. The site uses SSL and has a valid up to date certificate from StartCom. The site loads, but with no CSS or theme. Mainly, I can't get into ...
0 votes
2 answers
57 views

Server 500 error when updating post using block editor

My client's website has a single post that when updated/saved using the block editor displays the following in the browser console: XHR Post Status 500 https://www.wanderwoman.ca/wp-json/wp/v2/posts/...
0 votes
2 answers
70 views

Why does updating the front page give a 403, but no other page?

I am not very experienced with WordPress, so please bear with me if I do not use the right words or concepts. I've been asked to find out why it isn't possible to update a page in a (quite old) ...
0 votes
2 answers
3k views

Catchable fatal error in formatting.php

I'm running a WordPress 4.4.2. I have one site that's working fine. When I went to set up another site, I got the following error upon trying to save the "general" settings page: Catchable fatal ...
0 votes
1 answer
103 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 ...
4 votes
3 answers
4k views

Wordpress 6.x / PHP 8.x deprecated warnings in development environment

The problem: I want to run Wordpress 6.x with PHP 8.x in development mode - meaning define('WP_DEBUG', true); but Wordpress 6.x partial support for PHP 8.x throws a lot of deprecated warnings which do ...

1
2 3 4 5
25