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
0 answers
14 views

Is it possible to empty debug.log programmatically?

Is it possible to empty/delete wp-content/debug.log through WordPress? Sometimes things get messy so I wish I could empty it on page init so I have only fresh data to analyze. I write to it using a ...
  • 578
0 votes
0 answers
29 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 ...
1 vote
0 answers
23 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, ...
  • 11
0 votes
0 answers
17 views

why Critical Error only on author pages?

If a user visits an author's page (author of blog posts) and the link is also shown inside the Admin panel when viewing Users, the resulting page displays a critical error (white background, no other ...
0 votes
0 answers
13 views

Why when I click on a link into the WP admin panel I am redirected to a link that doesn't contains wp-admin prefix, so I obtain 404 error

I have installed a WordPress instance and I a facing the following problem. After that I access my admin panel via the URL: https://MY-DOMAIN/wp-admin I am correctly redirected to the admin panel. The ...
0 votes
0 answers
25 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/...
0 votes
1 answer
10 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
0 votes
0 answers
16 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 ...
0 votes
0 answers
18 views

Blog suddenly shows Archive instead of index page

I've searched all over the Net but this doesn't seem to be a common problem My blog https://wholeearthmama.com suddenly is showing Archive Posts images, not sure if this is a PHP problem or something ...
0 votes
0 answers
11 views

What are the issues using the Test Cookie Fix?

While login, I was getting this error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress If I try again to log in, then I can log in! When I searched for ...
0 votes
0 answers
33 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-...
  • 1
0 votes
0 answers
17 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 ...
0 votes
2 answers
41 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; $...
0 votes
1 answer
46 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 ...
  • 3
0 votes
0 answers
16 views

Media dint apper in wordpress media library after uploaded through file manager

I tried to upload a 400mb file to wordpress site through media library, but it show this error message 'Unexpected response from the server. The file may have been uploaded successfully. Check in the ...
0 votes
0 answers
23 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 ...
  • 1
0 votes
1 answer
18 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://...
  • 101
1 vote
2 answers
414 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-...
  • 113
0 votes
0 answers
16 views

Woocommerce checkout required field error

I added some custom fields on my checkout, but having problems with them. For example, when i do a breakdown and just add this field: add_filter( 'woocommerce_checkout_fields' , '...
  • 103
-1 votes
1 answer
17 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 ...
0 votes
0 answers
68 views

change wordpress pagination url after doing the request

I'm working with Wordpress pagination, I want to modify the returned URL when I click on a pagination link (number 2 for example in the pagination), at the moment I get: https://magicpallet.com/blog-2/...
  • 3
0 votes
2 answers
519 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 ...
  • 1,016
0 votes
0 answers
42 views

Blog post is redirecting to home page

It wasn't doing this before, and I'm not sure what has caused this to change. I have tried: clearing cache changing permalink structure, saving, and setting back again unpublishing and republishing ...
  • 3
0 votes
1 answer
20 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 ...
2 votes
1 answer
87 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 ...
0 votes
0 answers
18 views

wp_redirect is only working in Chrome Network, page is not redirecting

I created a custom WordPress Payment Plugin for WooCommerce, Everything is working fine. When I try to use wp_redirect('url'); page starts to load in Browser Network, but the page is not redirecting ...
0 votes
1 answer
1k views

Error: Attempt to read property "ID" on null

I have the following error Attempt to read property "ID" on null in this code snippet global $wp_query; $categories = get_the_terms($wp_query->post->ID, 'live_stream_categories'); $...
  • 141
0 votes
0 answers
363 views

How to fix Scrape key check failed on WordPress VPS?

I'm asking here because DigitalOcean support or forums have no idea what's going on. I create a LAMP server and the I installed WordPress. Everything was working ok, so I created a snapshot of the ...
  • 55
0 votes
0 answers
424 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} ...
0 votes
1 answer
81 views

Import images remotly run through timeout error

Actually I delevop a plugin that uses several curl requests to get data from an external server. I've got the following code running and is working fine. The post and meta gets in But if I running the ...
0 votes
0 answers
53 views

How do I fix wp-admin error when exporting reusable blocks?

I am having trouble with the export to json feature of the reusable blocks shown below. I am getting the following console errors after pressing the export to json link: Access to fetch at 'https://...
0 votes
1 answer
11 views

WordPress Animation Adjustments

I have a problem with my WordPress animations. https://cyals.com is the website Currently developing. I Use Elementor Page Builder to build my page. a man and a woman load with animations one by one ...
0 votes
0 answers
14 views

Multiple use wp_logout_url() on page cause 'header already sent' error after submit form

I am using two wp_logout_url() echoes on page. The first one is used in header.php custom theme file, second one is used in another page template file (page-[customslug].php). On that page i have a ...
  • 145
0 votes
0 answers
46 views

Error call_user_func_array() After Installing Plugin

this error comes to you in WordPress after installing the plugin Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'my_function_admin_bar' not found or invalid ...
1 vote
1 answer
71 views

After upgrading Debian Buster to Bullseye, Wordpress sites no longer updating

Today I upgraded my webserver from Debian Buster to Bullseye and it was in fact a pretty straightforward upgrade. Everything seemed to work until I tried to reach a few WordPress sites on the server. ...
  • 111
0 votes
0 answers
17 views

When trying to access home page, Wordpress appends /wordpress to domain name which gives 404 error

When trying to access the home page, on https://www.andersonclassics.uk Wordpress appends /wordpress to the domain name as https://www.andersonclassics.uk/wordpress which gives a 404 error - there is ...
0 votes
0 answers
45 views

How to turn off WP error handling, but turn on php error handling?

Ive tried lots of define( 'WP_DEBUG_DISPLAY', true ); define( 'WP_DEBUG_LOG', true ); define('WP_DEBUG', true); I want to turn of the WP error handling. I want normal, good ol php errors to ...
0 votes
0 answers
29 views

Error establishing a database connection in wordpress site , website not opening

i had my website using wordpress in cpanel with PHP 7.4 version , mysql 5.6.41-84.1 version , i got Error establishing a database connection tried enable define('WP_DEBUG', true); got Warning: ...
0 votes
1 answer
21 views

How do I fix this: syntax error, unexpected ':', expecting ')'

Here is the line that is effecting my site from loading...I am just getting a blank page for my site. Please help as my business site is obviously down. Thank you in advance to whomever can help me. ...
0 votes
1 answer
28 views

I was adding the custom CSS & JS using hooks and there was this error even I didn't touch the wp-class-hook

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'skfans_wp_enqueue_script()' not found or invalid function name in C:\xampp\htdocs\plugin\wp-includes\class-wp-hook....
1 vote
1 answer
70 views

How do you change error reporting to only show errors in WordPress?

I'm working on a development site that has some plugins that produce notices. It's a bit annoying during development when you only want to see the errors your own code produces. How can you turn off ...
0 votes
0 answers
151 views

Error when adding extensions to wordpress version 5.9 with a DIVI install

I have got a weird notice when wanting upload a new plugin to my WordPress install. I deleted the MEMORY_LIMIT as said in the beginning of the logfile, no chance. It's the french version, but I'll try ...
0 votes
0 answers
7 views

Featured Images most often doesnt appear

I recently facing a problem that never occure before. When i open "add new post" page most of the time "Featured Image" option doesnt appear.However if i keep refreshing the ...
1 vote
1 answer
195 views

Gravity form Load By Ajax Cannot Submit - Error 400 [closed]

I have an issue with Gravity forms. I successfully loaded Gravity Forms via ajax, but I got an error of 400 when I submit the form. I tried all solutions but still can't submit the forms. here is my ...
0 votes
0 answers
28 views

Illegal string offset in PHP function in via Theme Customizer

I have this setting in wp_customize: // Select share box options. $wp_customize->add_setting( 'single_share_box_options', array( 'default' => $this->defaults['...
  • 454
0 votes
0 answers
17 views

ERROR: Cookies are blocked due to unexpected output (no FTP access)

I am trying to log in the WordPress of a deceased friend to remove his page, but I get the error message described in the title when trying to do so. I saw many messages advising to modify some files ...
  • 101
0 votes
0 answers
28 views

Error 500 when installing Wordpress

I logged into Cpanel, went to Wordpress install and configured all the setting as I normally do. When I hit install the bar showed up then stopped at 2% and then i got the popup ..."oops ...
0 votes
0 answers
144 views

Plugin.php not found

Hi guys i recently encountered a issue with our wordpress site, whenever we try to go to updates or plugin page the website says page not found. error log : Warning: "continue" targeting ...
0 votes
0 answers
108 views

Login error " There has been a critical error on this website"

There has been a critical error on this website and I couldn't find the solution to this.
0 votes
1 answer
22 views

Why does an ad page open when I browse my websites's wp-admin page?

While I try to edit my website via Wordpress and open any wordpress page after logging in, the page shows an ad page and I am not able to edit my website. The ad keeps appearing when I try to edit ...
  • 1

1
2 3 4 5
24