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
0
votes
1answer
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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
26 views

php 7.4 updates breaks elementor pages but not all [closed]

My WordPress site was recently running on PHp7.2 but I updated it to PHP 7.4 this morning. Since then I have 4 pages on my site that are throwing Critical Errors and also forms are submitting ( Just ...
1
vote
1answer
598 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 ...
1
vote
0answers
23 views

503 Service Unavailable error was encountered

When I try to upgrade PHP to version 7.4 or 7.3, I get the following error: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity ...
0
votes
0answers
11 views

Disable error_log for plugins (only)

I'm working on a big solution, where there are quite a few plugins installed. I'm working on a custom development of some code, so I have the error-log open, to debug the development. I have it ...
0
votes
0answers
13 views

Blank screen when editing any page or post (ComicPress)

I am the sole administrator of a fairly old WordPress/ComicPress site that is pretty barebones - default themes, 8 active plugins, no custom code (that I'm aware of). For the past several months, any ...
0
votes
1answer
2k views

WordPress custom template not showing in the list of available templates

For some reason, my custom template WILL not show up in the backend of WordPress. I have tried the suggestions in this thread: Custom templates not showing up in template dropdown to no avail. It ...
0
votes
2answers
1k views

ERROR message: “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

I have this problem, I've completely deleted all plugins, themes and changed php to 7.1. Nothing is helping. I have the same message: "The site is experiencing technical difficulties. Please check ...
0
votes
0answers
30 views

functions.php pharse error on complete new install

So I have just installed wordpress on shared hosting (with php 8.0 & DB (I forgot what version but it works) and immediately after setup, I get this: Parse error: syntax error, unexpected '.', ...
0
votes
1answer
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
1answer
14 views

GET request return value as error instead of success

I am trying to send response back to ajax request in js by using REST API. send request from ajax to server is okay and its processing okay. But to send the response from server to ajax, the ajax ...
0
votes
2answers
2k views

$wpdb doesn't like to store arrays

I'm attempting to store an array that looks like the one below, into a cell in a database using the code below the sample array. Unfortunately, WordPress doesn't seem to want to save it, and ...
0
votes
0answers
11 views

413 Request Entity Too Large while there is no limit for upload

Hi I installed WordPress with Nginx and configured php.ini and nginx.conf to allow large media files to be uploaded. When attempting to upload a file under 10MB, the following error occurred: 413 ...
0
votes
0answers
12 views

Error message when I'm on the login page with wordpress: cookies blocked [duplicate]

When I'm on the Login page in production, I've the cookies blocked error. Screencapture: https://www.pythonthree.com/wp-content/uploads/2020/11/cookies-are-blocked-due-to-unexpected-output-...
0
votes
1answer
837 views

The function is deprecated; use mysql_real_escape_string() instead

I don`t know coding. I recently my website stop to work properly. I get this error on the top of on every page loaded. Deprecated: mysql_escape_string(): This function is deprecated; use ...
0
votes
0answers
40 views

There has been a critical error on this website

When updating Elementor on my site joyorama.com, my website stopped working. I received an email saying there is an error with Elementor and with a recovery mode link. When entering recovery mode, ...
0
votes
2answers
2k views

create submenu page - error function not found or invalid function name

I have created a plugin with a top level page. I created a sub menu underneath that. When I run the plugin on my site everything works. But when I test it on a separate site I get an error and I'm not ...
0
votes
0answers
5 views

A non-numeric value encountered in wordpress, file location wp-includes/media.php line 457

// Calculate the larger/smaller ratios. $smaller_ratio = min( $width_ratio, $height_ratio ); $larger_ratio = max( $width_ratio, $height_ratio ); if ( (int) round( $current_width * $larger_ratio ) &...
0
votes
1answer
749 views

Why would adding a template file to a child theme cause an error in template-loader.php?

Per wordpress best practices, I created a child theme for an existing theme I have. Everything works fine until I try to add a template file which follows WP's template hierarchy conventions. For ...
3
votes
3answers
16k views

How to fix ob_end_flush() error?

At the bottom of my WP-admin pages I get this: ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\Users\anticaking\Desktop\Website\wordpress\wp-includes\functions.php on line ...
1
vote
1answer
985 views

is_wp_error is missing error

I am getting the following error in the code snippet below---and pointing to the line that references the $result[ 'body' ] assignment. The is_wp_error should have caught the error. ?????????????? ...
0
votes
0answers
71 views

WP SiteHealth check reports “The REST API encountered an unexpected result”. Where to setup SSL *client* cert for *internal* WP use?

I'm running WP 5.7 on Linux. It's an Nginx server. I'm setting up an internal site with policy that requires all services using SSL client cert verification enabled. The WP host listener has ssl ...
0
votes
1answer
619 views

The TypeError: this.each when wp.media.open() after using popper.js for bootstrap 4

I'm creating page metabox layout through bootsrap 4 framework. I added to admin enqueue the new js files: jquery-3.0.0, jquery-migrate-3.0.1 as well as popper-1.12.3 and bootstrap. Also the custom ...
0
votes
1answer
20 views

How to get the full stack trace for WordPress “table doesn't exist” error in debug.log?

I'm getting a WordPress "table doesn't exist" error in my debug.log, but unlike most errors it doesn't give a full stack trace to help me isolate the code. Anyone know how to tell WordPress ...
1
vote
0answers
38 views

Site works fine, but editing page causes error “Call to undefined function _wp_array_get()” in Gutenberg

No idea how this happened. Site was working, installed a plugin last night and uninstalled it. Admin panel works fine. Whenever I try to edit a page or post, WP throws this error on the live site. I ...
0
votes
2answers
4k views

Troubleshooting “loopback requests that take too long”

So I am dealing with this dreaded "unable to edit php files" errors after updating to 4.9.1 I disabled all of my plugins, and I am still getting the following error though the Health Check plugin: ...
1
vote
1answer
2k views

Uploading .mp3 files http error - 2 “exact” files one successful other fails

I have 2 equal .mp3 files - technically different files but both exported from Audacity using the same settings and the same original audio. Exactly the same size, same content (albeit processed ...
0
votes
1answer
559 views

Object of class stdClass could not be converted to string in

I am having a problem , I am getting this error, Object of class stdClass could not be converted to string global $wpdb; $poster_id = $wpdb ->get_results("SELECT ID from wp_posts WHERE ...
-2
votes
1answer
28 views

WordPress is not sending the 2nd email in the same request

When I try to send more than one email message in the same request, only de 1st message is sent, the rest of the messages are blocked with the error "Message body empty". The following code ...
6
votes
5answers
76k views

Error: call_user_func_array() expects parameter 1 to be a valid callback

I have issue after upgrading my wordpress to 3.6 see below for errors which displays on wordpress admin panel not on front of website. Warning: call_user_func_array() expects parameter 1 to be a ...
0
votes
0answers
25 views

Unable to view theme options

I am restructuring how my WordPress files are organized in order to use Composer along with tracking the theme and child theme in a Github repository. I'm following this guidance for the most part, ...
0
votes
2answers
42 views

Which is the correct way to conditionally enqueue a CSS file?

get_queried_object returns NULL inside a function hooked to wp_enqueue_scripts action hook when going to an nonexistent category URL on my website. If the category exists, the error is not shown and I ...
0
votes
1answer
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 ...
1
vote
1answer
2k views

A non-numeric value encountered in /wp-includes/functions.php on line 68

We recently updated our shared hosting to use PHP 7.3 (problem still existed in PHP 7.2 as well) - website is throwing the error in the title. the function in question is: function current_time( $...
1
vote
3answers
8k 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 ...
1
vote
2answers
1k views

Getting a 404 error when clicking edit page

The problem I've run into is the WordPress for my website yesterday randomly stopped allowing us to edit any of the pages. Every time you click to edit a page it comes up with a 404 error. Things I ...
2
votes
2answers
884 views

Redirect “Sorry, you are not allowed to access this page.” to Home

how to redirect the error message page "Sorry, you are not allowed to access this page." to the Home page?
0
votes
1answer
1k views

“HTTP Error” or Network Error (tcp_error) when uploading image

I am using WordPress 4.9.4 with Astra Themes. When I login to the dashboard and try uploading an image I get a red box with a message "HTTP Error" or Network Error (tcp_error). I have tried add ...
0
votes
1answer
19 views

Undefined offset: 0 in WordPress after latest version upgrade [closed]

My WordPress powered website always worked great, however after the latest upgrade to 5.6.2 and 5.7 I have a major issue that actually breaks an important part of the website, I have seen to go ...
0
votes
1answer
2k views

Fatal error: Cannot declare class WP_User_Request, because the name is already in use?

Suddenly I am getting the following error on my website, I don't know why, these are the following errors shown on my website: 1)Fatal error: Cannot declare class WP_User_Request, because the name ...
0
votes
1answer
619 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
1answer
2k 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 :)
0
votes
0answers
14 views

Getting Download failed. cURL error 28: Connection timed out after 10001 milliseconds

I'm trying to install some external plugins that came with my theme and I can't see to find a way to get the communication to work properly. I also have this issue being reported when trying to start ...
1
vote
1answer
269 views

Odd error on top of my dashboard. How do I fix it?

This error is popping up 5 times on the top of my dashboard saying: Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use ...
0
votes
1answer
101 views

Error in the wp-config.php file: PHP Fatal error: Uncaught Error: Unknown named parameter (PHP 8.0)

I get the following error: [06-Mar-2021 03:07:05 UTC] PHP Fatal error: Uncaught Error: Unknown named parameter $tasks_meta_id in /var/www/example.com/html/wordpress/wp-includes/class-wp-hook.php:287 ...
0
votes
1answer
11 views

Error missing MySQL extension

Yesterday I delete some files to clean up my storage. After that, I face the following error while visiting my website. Your PHP installation appears to be missing the MySQL extension which is ...
0
votes
1answer
25 views

Fatal error for category archives

When entering the blog and clicking on any of the categories, an error appears. There was a fatal error with this site. Learn more about WordPress troubleshooting. When using the query monitor tool, ...
1
vote
0answers
27 views

Created php page in wordpress - Error Page can not be reached

I want to create a folder within wordpress site at root and add a php page abc.php with simple code like <?php echo "Test php page." ?> But when I try to run this page like this ...
0
votes
1answer
299 views

Error : “Updating failed: The response is not a valid JSON response” with custom shortcode

I am building a theme into which I have integrated data recovered by an external API. I chose to create a plugin in which I put all my data processing, it allows me to generate a shortcode with which ...

1
2 3 4 5
23