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
1 answer
391 views

React error #231with Custom Blocks after upgrade to WP 5.5

So I wrote a plugin for a custom block using create-guten-block by ahmadawais. Everything was working fine until the WP update to 5.5. Now I when I try to edit a page that has one of my custom blocks ...
user13989254'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
3 votes
1 answer
7k views

Update wordpress fail - There has been a critical error on your website

During Updates. The website halted. And when refresh. "There's critical error on website" shown. Please help on how to fix it. Thanks. I believe many do face this problem. Deprecated: ...
Richard's user avatar
  • 31
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 ...
YaddyVirus's user avatar
7 votes
1 answer
2k views

Wordpress 5.5 - ReferenceError: commonL10n is not defined error

I just upgraded to the latest version of wordpress 5.5 and my theme stopped working. The categories are no longer automatically selected when I click the button. https://prnt.sc/u030gj
Vincenzo Piromalli's user avatar
0 votes
1 answer
169 views

I tried to build a theme from scratch and it crashed everything

Notice: Constant WP_CRON_LOCK_TIMEOUT already defined in /home3/premivu6/public_html/wp-config.php on line 91 Notice: Constant AUTOSAVE_INTERVAL already defined in /home3/premivu6/public_html/wp-...
franz23's user avatar
0 votes
1 answer
169 views

Wordpress website down with error "redirected you too many times."

I have a website that has been down for awhile with the redirect loop. I also cannot access wp-admin, gives me the same exact message. I was wondering if i could get this fixed asap since its a ...
Ken Kitley's user avatar
1 vote
1 answer
178 views

How to show the error causing the 'There has been a critical error on your website'?

I'm getting the error: 'There has been a critical error on your website. Learn more about debugging in WordPress.'. How do I display which error I'm getting in the frontend? I have these three lines ...
Zeth's user avatar
  • 858
0 votes
0 answers
18 views

Publication in wrong category

how do I create an error message if the user is trying to publish in a specific category? I would like to prevent publication in the default category.
marcorroma's user avatar
1 vote
1 answer
1k views

How to implement Sentry on Wordpress? [closed]

I need Sentry to track errors in my project code, the unofficial plugin for wordpress seems to be useless. How should I fix it?
Asaf M's user avatar
  • 142
1 vote
1 answer
347 views

How to fix blocked cookies error that doesn't let me log into wp-admin?

I have edited functions.php file recently and also added a new folder to themes folder for custom endpoint and after that I wasn't able to login to wp-admin. I deleted the folder and code line from ...
Eglė Ged's user avatar
0 votes
1 answer
883 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 ...
phingoc'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
1 vote
1 answer
985 views

Error trying to publish immediately. Post status = future (Missed schedule error)

We have moved a to new server and now we can’t publish. At least, we can’t publish instantly. Maybe can be useful: we are using Plesk & CloudFlare. When we publish a new post, the post_status ...
Anfuca's user avatar
  • 181
1 vote
1 answer
2k 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 ...
RafaSashi's user avatar
  • 467
0 votes
0 answers
113 views

Random 503 and 504 errors

Recently I have been getting a lot of 503 errors. They don't happen in any pattern. The only way to get them to willingly show up is by opening a bunch of orders(20-50) in WooCommerce. But sometimes ...
Tristan .L's user avatar
0 votes
1 answer
593 views

Errors after upgrading PHP to 7.4 WordPress

After upgrading PHP to 7.4 FastCGI I'm getting these errors: : fread(): read of 8192 bytes failed with errno=21 Is a directory in example.com/wp/wp-includes/functions.php on line 5977 And: Warning:...
1.21 gigawatts's user avatar
5 votes
5 answers
18k views

Upgrading PHP version results in "Use of undefined constant WP_CONTENT_DIR" warning?

On my HostGator shared hosting with a CPanel option to set PHP per domain, if I turn on PHP 7.3 (or other 7.x versions) for my existing blog I get an error page: Warning: Use of undefined constant ...
Ken Y-N's user avatar
  • 177
0 votes
1 answer
441 views

Wordpress 403 error on form submission with Ajax

I have a wordpress multisite set up, and in my sub-site (called "team" site) I have buddypress. There is an activity stream, but I cannot post updates to the activity because there is a 403 ...
Gaurav's user avatar
  • 23
2 votes
1 answer
385 views

Why when I instantiate wp_error in a validation method my user registration method stops working?

I would really, really, appreciate any insight I can get here. I'm working on a WordPress plugin that registers users in WordPress and want to validate data submitted through the form. I have a class ...
ryanaindimer's user avatar
0 votes
0 answers
32 views

Suddenly get errors in admin when editing post type

Suddenly I've noticed something weird on my Wordpress website. When I'm logged in, the wp-admin bar isn't visible anymore. And then I wanted to change the copy of a post and my console throws a ...
Dennis's user avatar
  • 135
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
0 votes
0 answers
1k views

media_handle_upload() returns Specified file failed upload test

I am trying to make media_handle_upload() work but I keep getting 'Specified file failed upload test.' This is how I am testing it: <html> <body> <form method="post" enctype='...
marcnyc's user avatar
  • 121
3 votes
2 answers
9k views

The style.css stylesheet doesn’t contain a valid theme header

when I try to upload a theme I have uploaded on a free host and it is the first time I upload a theme on a host, I got this error failed because The style.css stylesheet doesn’t contain a valid theme ...
social's user avatar
  • 61
0 votes
1 answer
329 views

403. You don't have permission to access this resource error

I tried to delete my existing Wordpress installation. What could not be deleted were the apache2, mysql and php folders because 'the folder or file in it is open in another program.' I restarted to ...
Warren van Rooyen's user avatar
1 vote
1 answer
831 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>. ...
Gabriel's user avatar
  • 11
0 votes
1 answer
75 views

Adding a second loop breaks everything

I have a page template that has the following: <?php get_template_part( 'include', 'certifications-popular' ); ?> Within this file, I have two loops. But having the second loop in there seems ...
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
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
0 votes
0 answers
29 views

PHP Error message Upload images to remote server

I'm trying to fix an old plugin that is giving me a php error. I've work with website developer for years but my knowledge of php is limited. If anyone can get me advice I would appreciate it. The ...
Kimberly's user avatar
-1 votes
1 answer
56 views

Parse error: syntax error, unexpected '}' in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]

//register users $username= mysqli_real_escape_string($db, $_POST['username']); $email= mysqli_real_escape_string($db, $_POST['email']); $password1= mysqli_real_escape_string($db, $_POST['password1'])...
Ralu's user avatar
  • 1
0 votes
0 answers
228 views

Cannot update WordPress Core via admin dashboard

I have a WP multisite that I am no longer able to run core updates via the admin dashboard. It used to work just fine back in the WP 4.* days, but stopped working the last couple of updates and the ...
Jamie Edwards's user avatar
0 votes
0 answers
281 views

"File not found." appears often while navigating wp-admin

I've been experiencing this issue with this specific website quite often. I moved it from a staging domain to the production domain and since it's been doing this. It did not do this on the staging ...
Alexnl's user avatar
  • 307
1 vote
2 answers
3k views

media_buttons_context is deprecated

Was just checking the error logs on a new install of 5.4.1 and see a lot: Got error 'PHP message: PHP Deprecated: media_buttons_context is <strong>deprecated</strong> since version 3.5.0!...
breadwild's user avatar
  • 341
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
1 answer
9k views

PHP Parse error: syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line 230 [closed]

Need you help, dont know what to do with it. <?php /** * Template Name: Home Page * * This is the template that displays all widgets included in homepage widget area. * * @package Mystery ...
Вадим Иващенко's user avatar
0 votes
0 answers
135 views

Elementor contact form doesn’t work: “Oops! I cannot send this email!”

My contact page has the default Elementor contact form, but it doesn’t work. I really don’t know where could be the problem. Could you help me? Edit: I fixed by installing sendmail (needed by ...
Mnkisd's user avatar
  • 101
0 votes
1 answer
539 views

I have a random letter appearing before my content. Where to start looking for the cause?

Something weird is happening. I'm running Wordpress on a local DesktopServer. Suddenly, as in today, the letter "d" has started appearing before my content is random places. In short, it appears on ...
Paul's user avatar
  • 9
0 votes
1 answer
1k views

PHP-warning in post-template.php and no loading content on pages

I am using HTML5 Blank to make my site. I wanted to style some pages differently than others, and therefore made a page template for them. In this page template I have used this to get the content: &...
TASan's user avatar
  • 42
0 votes
0 answers
522 views

Installation failed: <!DOCTYPE html> 504 - Gateway Timeout

When installing the big plugins I am getting this error - WooCommerce. This problem does not happens with small plugins. It takes long time to install the plugin. Installation failed: <!DOCTYPE ...
user avatar
0 votes
0 answers
41 views

Wordpress Bad Request Error 400

Can someone get me out of this trouble? I have successfuly tested wordpress on xampp and works fine, however, on a dedicated I 'm getting an error 400 Bad request until I manually remove any .php ...
NJMR's user avatar
  • 1
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
0 votes
0 answers
736 views

Critical error but refresh fixes it

I'm experiencing an intermittent issue where the "critical error" page is displayed but once you refresh the page it's working like normal. There is no information displayed when I have debug turned ...
aestheticare's user avatar
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
0 votes
1 answer
44 views

Unable to access wordpress page

Website link: http://belmont.perth.anglican.org/ error message: Parse error: syntax error, unexpected '[' in /home/belmont.perth.anglican.org/htdocs/wp-content/plugins/photo-gallery/framework/...
Angie Chia'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
5 votes
1 answer
1k views

Integrate recaptcha and wp_signon - what is needed?

I've been using wp_signon for a long time in a project: //Do the actual login for WP User $creds = array(); $creds['user_login'] = $skuser_name; $creds['user_password'] = $skuser_pass; $creds['...
bestprogrammerintheworld's user avatar
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
3 4
5
6 7
25