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.

439 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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'...
Alistair67's user avatar
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 ...
Josh's user avatar
  • 91
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 ...
edtamil's user avatar
  • 31
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:...
Alin Andrei's user avatar
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: ...
andersuamar's user avatar
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) ...
Purvik Dhorajiya's user avatar
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 ...
Ramnath's user avatar
  • 131
3 votes
0 answers
404 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 ...
bestprogrammerintheworld's user avatar
2 votes
0 answers
271 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 ...
Jaysukh Maghodiya's user avatar
2 votes
0 answers
272 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 ...
marcnyc's user avatar
  • 121
2 votes
0 answers
976 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 ...
Brian's user avatar
  • 21
2 votes
0 answers
80 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 ...
Ahmed Shams's user avatar
2 votes
0 answers
63 views

Why do plugins deactivate by themselves?

What are things that can make plugins deactivate by themselves? I sometimes have issues with this and I was wondering what the reasons were.
Aurora A's user avatar
  • 193
2 votes
1 answer
454 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 ...
danikaze's user avatar
  • 121
2 votes
0 answers
222 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 ...
cwd's user avatar
  • 1,862
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 ...
Dennis's user avatar
  • 21
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 ...
Gaius Augustus's user avatar
1 vote
0 answers
214 views

htaccess file prevents js scripts to run

In my WordPress website whenever the htaccess file is added to my public_html folder, I have so many errors in my js files. for example: Uncaught TypeError: gform.initializeOnLoaded is not a function ...
Arash Naderi's user avatar
1 vote
1 answer
462 views

ERR_CONNECTION_RESET on post save or add media

About a year ago the site was moved to another host (same domain name). Every time I attempt to save a post, page or upload media, I'm immediately sent a connection reset error (This webpage is not ...
Alex Gubin's user avatar
1 vote
1 answer
174 views

Wordpress custom block error: Content generated by `save` function triples

The block itself works fine. The problem is when the post is edited again - the block gives a "This block contains unexpected or invalid content" message. Developer console shows the ...
budgiebeaks's user avatar
1 vote
0 answers
111 views

Only specific users timing out

First-time asker here. Grateful for any help! I have a user who is timing out every time they try to edit a page in the Divi builder. Here is what I know: My user and other users are not timing out, ...
Ben's user avatar
  • 11
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} ...
Muhammad Mazhar Iqbal's user avatar
1 vote
0 answers
691 views

PHP Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE), expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line 124

Trying to help a friend move her website to a different host. Website works fine but when I move it I get the following error: PHP Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE), ...
Drew Jackson's user avatar
1 vote
0 answers
588 views

Python with wordpress plugin

I am trying to do some experiments with python and wordpress plugins. I would like to have shortcode [python] with some functionalities. I was trying this metod - Method i tried, but when I do ...
TriX 's user avatar
  • 11
1 vote
0 answers
36 views

Custom permalinks with hierarchical taxonomy - getting PHP warning

I have a site where a CPT needs to have permalink structure with custom taxonomies (parent and child). Following this solution https://wordpress.stackexchange.com/a/75172/210080 I got custom ...
Hellosus's user avatar
1 vote
0 answers
275 views

Wordpress fatal error from php protocol codes

This is the website link: dormireacuba .it/ When I'm trying to visit this site then just showing some fatal errors Fatal error: Uncaught Error: Call to undefined function wp_fix_server_vars() in /web/...
SY Shahadot's user avatar
1 vote
0 answers
6k views

Deferring Script wp-i18n causes a console error 'wp is not defined' - Gravityforms

I am deferring JS scripts in order to optimize page load times and SEO. My code to defer scripts is something like: add_filter( 'script_loader_tag', // Filters the HTML script tag of an enqueued ...
Meyer Auslander - Tst's user avatar
1 vote
0 answers
131 views

My wordpress site loads perfectly, but I cannot access the menus in the admin panel

Initially, the admin panel home was not loading. But got that to work by adding a line of code in a php file. But it did not solve the main issue. I still can't access any of the menus and options. A ...
Rahul Roy's user avatar
1 vote
0 answers
2k views

why would ABSPATH not get defined

Last week I got an error in my logs on a standard WP install - Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in /wp-settings.php on line ...
Jon's user avatar
  • 366
1 vote
0 answers
311 views

Call to undefined function wp_embed_register_handler()

I have a Wordpress website that is still under development. I was working on this website till end of Feb, 2021 and hold all works due to COVID crises. Till that date, website was working. Now I have ...
Dhirender's user avatar
  • 111
1 vote
0 answers
526 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 ...
Mark's user avatar
  • 11
1 vote
0 answers
679 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 ...
Rickmakeitquick's user avatar
1 vote
0 answers
41 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 ...
Danish's user avatar
  • 11
1 vote
1 answer
297 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 ...
Chris J. Zähller's user avatar
1 vote
1 answer
207 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/...
Wordpress Dev-lover's user avatar
1 vote
0 answers
31 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
Equity 2commodity's user avatar
1 vote
1 answer
46 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 ...
Luke Allen's user avatar
1 vote
0 answers
78 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-...
Webp's user avatar
  • 11
1 vote
0 answers
16 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 ...
mike's user avatar
  • 111
1 vote
0 answers
494 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 <...
O. Jones's user avatar
  • 471
1 vote
0 answers
1k 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 ...
Spoderman4's user avatar
1 vote
0 answers
22 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 ...
Foysal's user avatar
  • 449
1 vote
0 answers
80 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 (...
Michael's user avatar
  • 11
1 vote
0 answers
166 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 ...
user3814463's user avatar
1 vote
0 answers
24 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 ...
dmchale's user avatar
  • 11
1 vote
0 answers
687 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 ...
Vivi Alfaro's user avatar
1 vote
1 answer
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( $...
Ben McCoy's user avatar
1 vote
0 answers
89 views

Getting error "Warning: mysql_query(): Can't connect to local MySQL server through socket 'FILEPATH/cccatalog-plugin.php on line 1656"

I'm getting these errors on my Wordpress site: Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/89/10848999/html/wp-content/...
Chad Belerique's user avatar
1 vote
0 answers
209 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 ...
Mike Hermary's user avatar
1 vote
0 answers
333 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 ...
SD433's user avatar
  • 63

1
2 3 4 5
9