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
2 answers
164 views

Critical error after updating my wordpress

I wanted to update my site to latest wp version but during update first it said : “Briefly unavailable for scheduled maintenance. Check back in a minute.” which went on for several minutes… And now it ...
upstream's user avatar
  • 101
0 votes
1 answer
511 views

"Unexpected response from server" error when trying to upload any .mp4 file over 100MB

This WordPress site is being hosted by BlueHost (with cPanel). It is running on WP version: 6.2.2, and PHP Version ea-php74. According the the WP's media 'add new' page, the Maximum upload file size ...
SunnyOz's user avatar
  • 165
0 votes
2 answers
234 views

Wordpress @include( 'template-config.php' );

I'm new to WordPress and I'm getting this message on my WordPress website @include( 'template-config.php' ); I can't access my wp-admin page and website either both of them giving me the same page, I ...
alex's user avatar
  • 1
0 votes
1 answer
41 views

Custom Post Type slug has the same Redirection entry

So this is my case.. I have a Custom Post Type with slug /event I have this plugin installed - Redirection On the said plugin, I have a Redirection entry ^/event/(.*)/?$ which would redirect to /...
ensaymada's user avatar
0 votes
0 answers
121 views

How can I disable a plugin in Health Check mode if there's a critical error?

The normal approach to this would be to rename the plugin directory, but that would affect the live site as well. I can rename health-check-troubleshooting-mode.php but the critical error just resumes ...
Slbox's user avatar
  • 109
0 votes
1 answer
17 views

Posts Page in WordPress loading bare HTML of my homepage

On my WordPress site, I have an HTML page template serving as the home page and the posts page is a generic WP posts page. However, whichever page I set as the Posts Page in the Reading section of WP ...
Harsha Baskaran's user avatar
0 votes
0 answers
83 views

403 forbidden in admin console: fix seems to be temporary and then error is back

I've already cleared my browser cache, checked the server's file permissions, deactivated all plugins and none of those options fix the 403 code error. Only deleting the htaccess file works. However, ...
Floella's user avatar
  • 101
0 votes
0 answers
231 views

Critical error on woocommerce checkout page

I am facing an issue on my website. I am using woocommerce plugin with stripe payment method to checkout. I can checkout successfully on desktop/laptop and after that I can see Thankyou page.But when ...
Shoaib Saleem's user avatar
0 votes
0 answers
14 views

My websit dosent worke http errors 500

Warning: Use of undefined constant DIR - assumed 'DIR' (this will throw an Error in a future version of PHP) in /home/ki279095/public_html/index.php on line 4 Warning: require(DIR/wp-blog-header.php): ...
mohammed diab's user avatar
1 vote
1 answer
156 views

How to setup an automatic redirect for when there has been a critical error on the site?

Is it possible to automatically redirect to an external URL when the WordPress site has a critical error? Specifically when the site throws the "There has been a critical error on this website.&...
blakeow14's user avatar
2 votes
2 answers
342 views

Core error when calling remove_menu_page

During developent, my error log keeps getting polluted by errors from core WP. Since they are coming from core WP, I cannot fix them(technically I can, but I don't think that's a good idea). I wanted ...
HiMyNameIs's user avatar
1 vote
2 answers
2k views

Can't create new pages in wordpress

I have ran a php code to remove some pages of the database, the code worked fine and i have left with the optmised pages i needed. However, now i can’t create new pages at all. This happened with 2 ...
shireef khatab's user avatar
0 votes
2 answers
482 views

How do I turn off WordPress errors and just have regular old php errors?

If I use the constants, I still get the WP errors. I don’t want WP shadowed box and custom messages and all that. Just plain old PHP errors. In wp-config.php I have this: define('WP_DEBUG', false); ...
Doug Cassidy's user avatar
0 votes
1 answer
120 views

Customizing login message

I’m trying to change this error “The username [username here] is not registered on this site. If you are unsure of your username, try your email address instead.” I’ve tried various methods and can’t ...
user230661's user avatar
0 votes
1 answer
1k views

Please Help Me, How to Fix PHP Error Undefined Array Key "srcset"

please help me, my website notice error Message. On error.log notice Undefined Array Key "srcset" This is my code on WordPress, and i'am use PHP Version 8.0. function ...
Cilacap Info TV's user avatar
10 votes
1 answer
6k views

WordPress 6.1.1 shows deprecated errors with PHP 8.1 & 8.2

Is it related to my server or it is WordPress's error with PHP8.1 and PHP8.2? I see same error for both versions. Should I ignore the errors by setting wp-config.php as: define( 'WP_DEBUG_DISPLAY', ...
doraemon's user avatar
  • 213
0 votes
0 answers
1k views

Unable to log in: "Cannot serve directory www/wordpress/wp-includes/ No matching DirectoryIndex"

I was trying to log into my Wordpress website. The main website is fine, but when I access http://[domain]/admin, I get: Firefox - a blank website Brave - In-browser error message "[domain] is ...
ric.row's user avatar
  • 101
0 votes
1 answer
200 views

Lots of warnings and errors instead of my WordPress site - Synology NAS - Intranet

I have been attempting to setup a company intranet on a Synology NAS. When I came back into work this morning after the weekend instead of the web page there are several pages of warning/error text in ...
hderic's user avatar
  • 3
0 votes
1 answer
67 views

Admin notice on wp_insert_post

I am trying to display some error messages in case some conditions are not met when using wp_insert_post. However, it the admin_notice doesn't seem to trigger. Here's the example I have: ...
dvm node's user avatar
0 votes
1 answer
107 views

Logout redirect via page template without confirmation?

I'm trying to redirect users when they visit my page template template-logout.php, but I keep getting the Wordpress "Do you really want to logout?" question despite wpnonce being generated. ...
Osu's user avatar
  • 1,442
0 votes
1 answer
1k views

Use of undefined constant issue

I have the following warning notice from my functions.php file: Warning: Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT' (this will throw an Error in a future version of PHP) This is ...
Mathieu Préaud's user avatar
0 votes
1 answer
117 views

How can I resolve an error on Wordpress after PHP update

Am having an issue with my website after the new php update it was at first with plugin which I removed via the Control panel but it's still showing an error. See attached picture
Eltkins Kamanga's user avatar
-1 votes
1 answer
446 views

syntax error, unexpected '=>' (T_DOUBLE_ARROW) [closed]

I don't know how to use this, I'm trying to fix the codes, but I can't fix this one. Someone could please help me? public $is_success = true; public $messages = ( 'success' => [], ...
Antonio's user avatar
0 votes
1 answer
291 views

Change Registration Error Message

I would like to change the error message: "Invalid login details" into "This username or email already exists." I am using a plugin called Login Customizer and even if I deactivate ...
マリア's user avatar
0 votes
0 answers
624 views

How to fix Notice: unserialize(): Error at offset 12620 of 12651 bytes error?

I get this PHP error notice in Query Monitor. I tried disabling all plugins and applying a default theme like TwentyThenty, but the error doesn't go away. I also replaced wp-admin and wp-includes with ...
Sahriar Saikat's user avatar
0 votes
1 answer
686 views

Wordpress Customizer not loading

I am trying to switch my Wordpress site to a new theme. I could reproduce the initial issue on my live site as well but did all the following testing in my local staging environment. Issue: As long as ...
Wolfgang's user avatar
0 votes
0 answers
822 views

PHP warning $post->ID is null

I've been having some difficulty with the following error, and my PHP skills are pretty non-existent. Whenever I try to create a new page, I get the following error: PHP Warning: Attempt to read ...
Joseph Yang's user avatar
0 votes
1 answer
80 views

How can I send api calls from my plugin?

I have a collection of REST APIs that our android app uses. We use POSTMAN to send requests and troubleshoot them. Now, I am working on a plugin where I am trying to send API calls to all the ...
Rajin Sharwar's user avatar
0 votes
1 answer
142 views

Fatal error trace not shown in development setup

I recently re-did my local dev setup and have been seeing these types of fatal error warnings: There has been a critical error on this website. Please check your site admin email inbox for ...
kontur's user avatar
  • 152
0 votes
1 answer
48 views

How to fix enqueue_styles error for a twenty-seventeen childtheme

I have searched your site but cannot find and fix this error I get: Notice: Function wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered ...
Prink1978's user avatar
0 votes
1 answer
11 views

Error Message - Cannot login to Wordpress

I am getting this error message and cannot log in to wordpress anymore. Can someone please help: Warning: Cannot modify header information - headers already sent by (output started at /home/customer/...
Rini's user avatar
  • 1
0 votes
1 answer
45 views

Console errors after Wordpress Update 6.1

I am using Soledad theme with Woocommerce and after updating to version 6.1 I get these errors. Failed to load resource: the server responded with a status of 500 () post.php:1 Failed to load ...
in2d's user avatar
  • 101
0 votes
1 answer
704 views

Fatal error: Uncaught Error: trim(): Argument #1 ($string) at \wp-includes\class-wp-query.php

I am using a form to submit table inserted values using <input name=[]> as $_POST to a PHP page. It's a template page of wordpress and I am getting an error. <?php /* Template Name: table ...
Minh's user avatar
  • 3
0 votes
1 answer
94 views

kali php problem [closed]

hello everyone I download a php script and when I try to run it kali show me this message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/...
murtadha ghanim's user avatar
0 votes
0 answers
284 views

File doesn't exist! in wordpress function.php file while creating new post or page

i have been working on wordpress website, from past two days i am not able to add new posts/pages while i click add new page or post, below image shows the error cant able to create new post cant ...
Harish Reddy'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
0 votes
0 answers
79 views

Wordpress error

Hell, I have an error: Fatal error: Uncaught Error: Call to undefined function apply_filters() in /home4/smakolyk/public_html/pcwordpress/wp-content/plugins/woocommerce/includes/admin/importers/...
Jakub Troczyński's user avatar
0 votes
1 answer
117 views

Other pages fine but wp-admin showing ERR_TOO_MANY_REDIRECTS Error

wp-admin showing ERR_TOO_MANY_REDIRECTS Error and can't let me login into dashboard but Other pages loading fine. FIXED
rawaha johns's user avatar
0 votes
0 answers
17 views

Comment turned Invisible

Please help me with this problem. People can comment, and the database shows the commented data. but the website is not displaying them. They are just showing blank space. (Just the username of the ...
Shahi John's user avatar
0 votes
0 answers
159 views

Too many errors on log

My shared hosting go to 100% CPU i check error_log and appears too many errors [23-Aug-2022 22:15:05 UTC] PHP Fatal error: require(): Failed opening required '/home/mywebsite/mywebsite.com/wp-...
newbel's user avatar
  • 1
0 votes
0 answers
32 views

Programmatically revert to backup .htaccess a possibility?

This may be impossible, but I am wondering if anyone knows if there is a way to try loading an .htaccess file, and if it causes issues on the site then revert to a backup .htaccess file? Same goes for ...
Aristocles's user avatar
0 votes
2 answers
109 views

Prevent post from being published and show error

I'm trying to prevent a post from being published if it contains certain words using the folowing: function jhnppWord($content) { global $post; $content = $post->post_content; $...
Johan Barnard's user avatar
0 votes
1 answer
602 views

Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme

I have two Wordpress sites with theme Dyad 2 https://wordpress.com/theme/dyad-2 I need to upgrade from PHP 7.4 to 8.1, but when I try I got four "Deprecated: Non-static" errors. I managed to ...
raffe's user avatar
  • 3
0 votes
0 answers
111 views

Failed to import "File name": Invalid post type jetpack-portfolio

I'm importing all my content from wordpress.com to wordpress.org but keep getting the error Failed to import “Post Name”: Invalid post type jetpack-portfolio. I need to transfer all my portfolio and ...
Nikita's user avatar
  • 1
0 votes
1 answer
167 views

Can't find image to remove

I noticed when debugging my first ever Wordpress site that I was getting an error Access to image at 'http://192.168.1.250/wordpress/wp-content/uploads/2018/11/bg-10-free-img.jpg' from origin 'http://...
Gavin's user avatar
  • 101
1 vote
2 answers
1k views

Why does this code snippet create a critical error on my site? [closed]

This snippet used to work fine but with the update to PHP 8.0 it now breaks the site when a WC order is switched to this custom status //Add custom bulk action in dropdown add_filter( 'bulk_actions-...
J4G's user avatar
  • 113
-1 votes
1 answer
20 views

Where can I get a full list of wordpress errors in plain text?

When a wordpress error pops up, it's in the code, now I can find scattered errors tutorials all over the internet, but is there specific list somewhere? Like: error x syntax error y etc... Something ...
Bruno  Vincent's user avatar
4 votes
3 answers
4k views

Wordpress 6.x / PHP 8.x deprecated warnings in development environment

The problem: I want to run Wordpress 6.x with PHP 8.x in development mode - meaning define('WP_DEBUG', true); but Wordpress 6.x partial support for PHP 8.x throws a lot of deprecated warnings which do ...
Picard's user avatar
  • 1,145
0 votes
1 answer
143 views

Getting no Error Log File saved to my local directory, and no debug info displayed in the web browser

I have installed WordPress on my Ubuntu Server 20.04 VM (host machine runs Linux Mint 19). I've able to view wp-admin and the sample website without issue. I'm using Firefox to access wp-admin, the ...
justAnotherNoob's user avatar
2 votes
1 answer
113 views

How can I create a custom page for this error?

How can I create a custom page for this too many connections error page because I know it's because my server is overloaded? I wanted to show a custom error page instead of this when my website is ...
The Blog 101's user avatar

1
2
3 4 5
25