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.

Filter by
Sorted by
Tagged with
0
votes
0answers
160 views

Error: “Cannot modify header information” in Wordpress website

While opening Wordpress portal, it is throwing this error every time. I am unable to find any error on line 1296 and 1299. These messages display every time in the browser when trying to open the ...
0
votes
0answers
35 views

PHP Warning: file_get_contents(http://ip.googlescript.com… in Akismet3

I'm noticing this strange output in my Apache error logs for one of my WordPress websites. PHP Warning: file_get_contents(http://ip.googlescript.com/66.205.156.117?api_key=xxxxxxx&group=lib-...
1
vote
1answer
205 views

File does not exist - wp-index.php

In PHP logs I keep getting errors like this: does not exist: /home/user/domains/domain.net/public_html/wp-index.php, referer: http://domain.net/wp-index.php File does not exist: /home/user/domains/...
0
votes
1answer
264 views

PHP Warning: mysqli_query(): after updating my websites php from 5.6 to 7.2

Recently I updated my websites php from 5.6 to 7.2 but afterwards my website sometimes/often shows the internal server error message. I set debug to true and got the following errors: PHP Warning: ...
0
votes
1answer
298 views

Changing wordpress/woocommerce notices default message to other languages (text)

Hi I'm kind of new to WordPress and right now I'm changing the notice message with filters and overwriting them inside functions.php. like this: add_filter('woocommerce_lost_password_message', ...
2
votes
1answer
1k views

Wordpress error - PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()

I'm working on a website that has been met with the WordPress "white screen of death" error, 'The site is experiencing technical difficulties.' I believe this occurred when updating all ...
0
votes
1answer
86 views

Fatal Error when trying to load Permalinks page on WP admin [closed]

I'm receiving the below error when trying to access the Permalinks section on the WP admin. The page does not load and shows the error message instead. I cannot understand what this means or what has ...
1
vote
1answer
560 views

PHP Warning : A non-numeric value encountered

I get this Warning: A non-numeric value encountered in /home/customer/www/example.com/public_html/wp-content/themes/boombox/includes/functions.php on line 2466 I try to change it from => $...
0
votes
1answer
12 views

Replace form field error text?

I am customizing a multisite installation of Wordpress, and I want to replace this text. Site names can only contain lowercase letters (a-z) and numbers. Problem is that this is in the core of ...
0
votes
0answers
236 views

Getting 403 Forbidden Error while trying to edit or delete new posts or existing posts

So the error I am getting is 403 forbidden error while trying to edit any new posts {I can create new posts tho}, existing posts or pages, or campaigns using Icegram even! Tried plugins, .htaccess, ...
0
votes
0answers
18 views

I would like some help on an error I'm getting after migrating a site locally

So the error code I'm getting is: call_user_func_array() expects parameter 1 to be a valid callback, function 'custom_post_type' not found or invalid function name in C:\xampp\htdocs\mooshoo\wp-...
0
votes
0answers
836 views

Uncaught TypeError: Cannot read property 'add' of undefined bp-plupload.min.js

Getting this error in Chrome dev tools after upgrade to Wordpress 5.5 few days ago. The error appears when users try to upload an avatar in Buddypress profile and are unable to. I have disabled most ...
0
votes
0answers
13 views

How to Fix Wordpress multisite woocommerce 403 file error

Recently getting 403 error for woocommerce plugin files while accessing on frontend. Frontend URL: https://tempserver.in/demo/haiko/ Used theme: ekommart tried deactivating / re-activating plugins/ ...
0
votes
0answers
11 views

Facing an error line above and at the bottom of my site first page

The other day i faced a problem with my website. It got infected and since i made a complete scan with "wordfence" it found an infected file and i deleted that. After a while, some error ...
0
votes
1answer
167 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 ...
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
2k 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: ...
0
votes
2answers
826 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 ...
7
votes
1answer
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
0
votes
1answer
68 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-...
0
votes
1answer
40 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 ...
1
vote
1answer
93 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 ...
0
votes
0answers
15 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.
1
vote
1answer
540 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?
0
votes
0answers
169 views

Error Class not found when include(wp-load.php) with File Upload Type WPForms On

Hello I wanted to ask about some error on WP, I just add/include(wp-load.php) so my own plugin can use wp short_code and check if it's logged in or not, but now I've problem with existing plugin, that'...
1
vote
1answer
58 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 ...
0
votes
1answer
440 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 ...
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 ...
1
vote
1answer
363 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 ...
0
votes
0answers
20 views

Status Code 406

i have a site. when I am checking my website's health I am facing an error. my site URL code is shown 404 and 406. now please help me to resolve this problem. URL
1
vote
1answer
235 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 ...
0
votes
0answers
20 views

How to customize the Wordpress White Screen of Death

I see a lot on how to get rid of it, but I want to customize the text on it which currently says: There has been a critical error on your website. Please check your site admin email inbox for ...
0
votes
0answers
74 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 ...
0
votes
1answer
258 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:...
5
votes
5answers
10k 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 ...
0
votes
1answer
154 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 ...
2
votes
1answer
92 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 ...
0
votes
0answers
22 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 ...
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 ...
0
votes
0answers
87 views

Error establishing a database connection with wordpress and wamp

I tried to install Wordpress using wamp as localhost, but I got the following error all the time: Error establishing a database connection I tried to use many solutions but they didn't really help. I ...
0
votes
0answers
251 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='...
3
votes
2answers
2k 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 ...
0
votes
1answer
236 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 ...
1
vote
1answer
203 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>. ...
0
votes
1answer
46 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 ...
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
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 ...
0
votes
0answers
17 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 ...
-1
votes
1answer
24 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'])...
0
votes
0answers
47 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 ...

1
2
3 4 5
23