People who code: we want your input. Take the Survey

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.

379 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
1k 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'...
4
votes
1answer
1k 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 ...
3
votes
1answer
523 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 ...
3
votes
1answer
5k 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:...
3
votes
1answer
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: ...
3
votes
1answer
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) ...
3
votes
3answers
12k 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 ...
3
votes
0answers
231 views

How should I handle errors within a plugin?

Building my first serious attempt of a Wordpress plugin. I'm not sure how I should handle errors. I really just want to give the user some kind of message that the variable is wrong instead of ...
3
votes
2answers
4k views

This webpage is not available ERR_NAME_NOT_RESOLVED

I have a website that runs wordpress. I'm new to this so I was messing with the settings to see what they do. My domain name was www.example.com and there was a setting that was allowing me to ...
2
votes
0answers
60 views

Why i getting blank user_activation_key in get_user_by( 'login', $login ) function?

I am facing strange issue, I have implemetned custom password reset template, Where I am checking key using $user = check_password_reset_key($_REQUEST['key'], $_REQUEST['login']); When i check in ...
2
votes
0answers
138 views

wp_generate_attachment_metadata generates 503 Service Unavailable or 500 timeout errors

I've been struggling for a week with this... I was trying to upload an image with media_handle_upload but it never worked (it always timed out), so I decided to break it down to see where it failed ...
2
votes
0answers
150 views

'Invalid post type' error when importing from one site to another

Our existing corporate site was developed by a 3rd party vendor. I am in the process of creating a new version of our site, in a new WP instance. I need to export the 'News' articles, from the current ...
2
votes
0answers
59 views

Check Title Unique Or Not and If not error message and dont save

i am get tired from searching 2 days for what i wanna i have 'area' custom post type have Title and another field i wanna the title of area is unique if the user enter title 'area1' and this title ...
2
votes
1answer
558 views

How can I display an error message after post has been saved?

I'm writing a plugin, and I was wondering how I can display an error message after the meta fields have been updated and the page is reloaded. I have to check if the ID field is unique, and if it isn'...
2
votes
2answers
898 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?
2
votes
1answer
433 views

error establishing a database connection

I know this question is asked like a million times, but I can't find an answer for my problem. This problem is happening in a user of my server (my father's blog actually), and as he told me: "Just ...
2
votes
1answer
1k views

Firing a function AFTER redirect

I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
2
votes
0answers
170 views

How can I make wordpress suppress mysql errors?

Wordpress has two functions related to SQL queries and their errors as mentioned in What Is The Difference Between suppress_errors() And hide_errors() in $wpdb? From what I've read setting WP_DEBUG ...
1
vote
0answers
42 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 ...
1
vote
0answers
49 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 ...
1
vote
1answer
461 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 ...
1
vote
0answers
28 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 ...
1
vote
1answer
25 views

Nonce failing on form submission

I'm updating some code in one of my WordPress plugins by adding a nonce to improve security. The plugin that has a form that generates some output that the user can copy and paste as a shortcode. At ...
1
vote
1answer
83 views

Error! 401.shtml file not found, what's the problem?

There's a file missing in errors log in cpanel I can see the following error: 2020-08-22 12:44:37.659980 [INFO] [13028] [172.68.24.86:13002#APVH_click.af:443] File not found [/home/clickaf/public_html/...
1
vote
1answer
204 views

Wordpres debug.log PHP Notice: is_singular was called

I have started to get alot of "is_singular was called" and "is_page was called" in my debug.log [31-May-2020 12:10:27 UTC] PHP Notice: is_page was called <strong>incorrectly</strong>. ...
1
vote
0answers
15 views

How to solve this issue

Showing this message " Redirecting you to "Redirecting you to https://example.com/exapmle" " after clicking on any link in my Wordpress site
1
vote
1answer
31 views

Trouble with CPT Child 404

I'm having issues with some custom post types showing up as 404's. I have a website i've been running for about five years, that has a CPT called Videos, and a single PAGE which acts as the Videos ...
1
vote
0answers
43 views

WordPress There is an error log for a transaction we did not do

I'm new to wordpress and I have no code information. I encountered an error in the log file that I did not perform. Who can do how. Have I been attacked? [17-Apr-2020 20:35:55 UTC] require('wp-blog-...
1
vote
0answers
11 views

Mute Debug Messages from Plugins

I have an older plugin installed that is firing all these PHP Deprecated and PHP Notices in my debug.log every time a page loads. Is it possible to mute PHP Deprecated and PHP Notices but ONLY for ...
1
vote
0answers
126 views

Classic editor throws 403 error based on post content

In an updated and unadorned WordPress installation, with only the Classic Editor plugin enabled, and the 2017 theme, I get a weird error. When I try to save a draft of a post containing this <...
1
vote
0answers
544 views

“TypeError: ((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function” error from jquery.js?ver=1.12.4-wp library

I'm getting an error in console Uncaught TypeError: ((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3) at ...
1
vote
0answers
18 views

How to Debug WordPress

I put below codes in my wp-config.php file. define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define('WP_DEBUG_DISPLAY', true); @ini_set('display_errors',1); But I not getting any ...
1
vote
0answers
38 views

Wordpress Script stops suddenly

I have programmed a php site which loops through posts (600 counting) and creates upon this new custom post entries. This script suddenly stops after 20-30 seconds without error or failure message (...
1
vote
0answers
81 views

Can't post to my Wordpress site

Today's date is January 18, 2020. I am currently running WordPress version 5.3.2. I am NOT a WordPress expert by any means. So replies should take that under consideration. My blog was working fine ...
1
vote
0answers
91 views

WordPress Multi-site network tab throwing 'Error too many redirect errors'

Has anyone come across this issue.. whenever I try to access the /network section of my multisites it doesn't work which just started recently. It throws a ERR_too_many_redirects error and just shows ...
1
vote
0answers
23 views

Catalina an MAMP Database Conenction Error

Ive updated my MACOS to Catalina and MAMP Pro 5.5.1 to find none of my existing site work. All I get is 'Error establishing a database connection'. Ive moved over my httdocs and db folders. Everything ...
1
vote
0answers
639 views

Error message prevents access to WP

This message appears Attempt to create object of class W3TC\DbCache_WpdbNew has been made, but file /home/***/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php doesnt exists #0 ...
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
0answers
116 views

eventON plugin AJAX call triggers website crash

The eventON event listing plugin causes our website to crash when switching between months. The browser indicates that it is trying to load the site, but nothing ever appears. The plugin is inserted ...
1
vote
1answer
2k views

Sorry, you are not allowed to access this page dashboard

I changed my DNS nameservers to CloudFlare from my hosting DNS nameservers and when I logged in to my WordPress dashboard it shows an error message "Sorry, you are not allowed to access this page.". ...
1
vote
0answers
307 views

Error on wp_default_style After upgrade to php 7

After upgrading my site to php 7. I have been constantly getting this error regarging the parameter to native wordpress function wp_default_style(). Spent so many days to fix it but was not able to ...
1
vote
1answer
31 views

I could not access my website wp-admin after installing SSL. And error with mixed content

I've this code in .htaccess file, and facing lots of mixed content error after installing ssl certificate. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] ...
1
vote
0answers
80 views

Custom slider throwing an error

Hi am using Customised slider in my theme from another theme I add this code in my customizer.php function mytheme_customize_register( $wp_customize ) { //Slider $wp_customize->...
1
vote
0answers
112 views

Page Not Found on categories / tags / pages

Have been trying to fix this problem for the past few days now. When I try and access the Posts icon on the sidebar, on the dashboard, I cannot access an overview of Categories/Pages/Tags. I can ...
1
vote
0answers
22 views

Wordpress site periodically goes down

my site https://mediatrends.me/ periodically goes down. It works fine and then all of a sudden any page becomes unreachable in every web browser. "site can't be reached", etc. After a few minutes it ...
1
vote
0answers
308 views

err_connection_closed after 20 minutes when loggedin in backend

On a wordpress theme I created I have a strange behavior: On one of many page, I get the error err_connection_closed after about 20 minutes of loading and no content is displayed. But only when I am ...
1
vote
0answers
45 views

WooCommerce plugin won't let me access settings

I downloaded WooCommerce and activated it normally. But it doesn't show up in my Wordpress sidebar to access the settings. When I do it from the plugins page it directs to a page that tells me that I ...
1
vote
0answers
27 views

Handle new created WP_Error

Is it possible to set up a global function for catching new created WP_Error instances? I would like to catch all of them and send error logs to Sentry
1
vote
0answers
469 views

How do iterate through all errors for a WP_Error object?

I have a block of code that I know contains multiple errors which come from the wpmu_validate_blog_signup function. The error object is part of the $result array. $result = wpmu_validate_blog_signup($...
1
vote
0answers
4k views

Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself

When I insert example.com/wp-admin/ I get an error "Sorry, you are not allowed to access this page.". But the rest of wp-admin I can access, for example: example.com/wp-admin/plugins.php. These are ...

1
2 3 4 5
8