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
-1
votes
1answer
18 views

Add clickable function in functions.php - parse error [closed]

I'm trying to add onclick event to a div. But Wordpress keep saying that my function is undefined. Uncaught ReferenceError: thfull is not defined function thfull() { echo "document....
0
votes
0answers
25 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 ...
0
votes
0answers
13 views

I have website, that is base on PHP but there is a undefined error occur automatic or may update a PHP latest version

I have Hotel website, Hotel in manali in mall road, after updating a PHP version code there is undefined error occur automatic, I don't know why this error occur and I have a big problem because this ...
0
votes
0answers
20 views

How to fix these errors? [closed]

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_enable_block_templates' not found or invalid function name in /home/vol2_6/unaux.com/unaux_29191198/htdocs/wp-...
0
votes
1answer
11 views

Can not login to wordpress site after resolving white screen of death

I had a white screen of death that I was somewhat able to resolve. I updated PHP from 7.0 to 7.3.2, removed BOM from wp-config.php, and deleted wp super cache plugin. From looking at others issues ...
0
votes
0answers
16 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_ob_end_flush_all' not … class-wp-hook.php on line 292

I have the following error, but have tried everything to resolve it. Can someone please assist me? Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '...
0
votes
0answers
20 views

Fatal error: Uncaught Error: Call to undefined function add_action()

I'm working with WP Engine and added their geotarget add on and my redirect is working when I use my VPN in anywhere outside the U.S. which is what I want. However, when I test within the U.S. I get......
0
votes
0answers
18 views

Plugin pages on admin page are broken. Problem with permalinks. Getting “Invalid post type” error and “You are not allowed to access this page.” [closed]

Okay let me try to explain what is happening. Lets say Im trying to open orders page in woocommerce plugin by pressing "orders" in the menu. The link its opening is https://example.com/wp-...
0
votes
0answers
27 views

Unable to edit with Elementor

After installing Wordpress multisite configuration it is impossible to enter the Elementor edit environment, the following message shows: "the preview could not be loaded...", Unfortunately ...
0
votes
0answers
15 views

I am having errors with checkout on wordpress

Notice: tax_class was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), ...
1
vote
0answers
25 views

Warning: call_user_func_array()

I have a website that when I open it i get some errors : Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_schedule_https_detection' not found or invalid ...
0
votes
0answers
31 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 ...
0
votes
2answers
34 views

Wordpress Plugins Error

I get this message when I go to add a new Plugin. Do you know a way to solve this? An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you ...
0
votes
0answers
14 views

Error with fix_post_counts

My goal is to hide from all users posts from new authors. When i create a new author i notice that at the dashboard post are displaying posts from all users too. I found a code that it hides all ...
1
vote
0answers
17 views

Current working folder path added to file access requests? [closed]

I've migrated a wordpress site to a Plesk IIS server (yes windows) runnign PHP 7.2 (also tried 8.0 with no change to this issue). A new Wordpress install (5.7.2) and moved content and media via a ...
1
vote
0answers
38 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 ...
0
votes
1answer
49 views

Why can I not execute php files under the wp-includes folder?

I am tweaking WordPress to understand it better, play with it. For personal purposes. But loading custom files from the /wp-includes folder won't work. I tried to add a info.php file under /wp-...
0
votes
0answers
31 views

WordPress Error Message

I am getting below error message in debug.log file. [19-Jun-2021 14:12:52 UTC] PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s ...
1
vote
1answer
109 views

Corrupt .htaccess file

My site was running well last summer. But today when I tried to make updates in the wp-admin section, I got lots of 403 errors on all PHP files: load-styles, load-scripts, edit.php, media-new.php, etc....
0
votes
1answer
15 views

Code snippet to display ID gives critical error

Based on this post, I added the code snippet below to my Wordpress site, as to display the ID in the Posts section of each post. However, it returns "critical error". Any idea what is wrong ...
1
vote
1answer
23 views

wp_enqueue_style - CSS Not loading - ERR_TOO_MANY_REDIRECTS [closed]

Following a change to .htaccess in public_html to attempt HTTP->HTTPS redirection CSS began failing for my site. Reverting the file didn't help so I chose to press forward with changing all ...
1
vote
0answers
61 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 ...
0
votes
0answers
16 views

Disable error_log for plugins (only)

I'm working on a big solution, where there are quite a few plugins installed. I'm working on a custom development of some code, so I have the error-log open, to debug the development. I have it ...
0
votes
0answers
91 views

functions.php pharse error on complete new install

So I have just installed wordpress on shared hosting (with php 8.0 & DB (I forgot what version but it works) and immediately after setup, I get this: Parse error: syntax error, unexpected '.', ...
0
votes
1answer
15 views

GET request return value as error instead of success

I am trying to send response back to ajax request in js by using REST API. send request from ajax to server is okay and its processing okay. But to send the response from server to ajax, the ajax ...
0
votes
0answers
13 views

413 Request Entity Too Large while there is no limit for upload

Hi I installed WordPress with Nginx and configured php.ini and nginx.conf to allow large media files to be uploaded. When attempting to upload a file under 10MB, the following error occurred: 413 ...
0
votes
0answers
13 views

Error message when I'm on the login page with wordpress: cookies blocked [duplicate]

When I'm on the Login page in production, I've the cookies blocked error. Screencapture: https://www.pythonthree.com/wp-content/uploads/2020/11/cookies-are-blocked-due-to-unexpected-output-...
0
votes
0answers
228 views

There has been a critical error on this website

When updating Elementor on my site joyorama.com, my website stopped working. I received an email saying there is an error with Elementor and with a recovery mode link. When entering recovery mode, ...
0
votes
0answers
7 views

A non-numeric value encountered in wordpress, file location wp-includes/media.php line 457

// Calculate the larger/smaller ratios. $smaller_ratio = min( $width_ratio, $height_ratio ); $larger_ratio = max( $width_ratio, $height_ratio ); if ( (int) round( $current_width * $larger_ratio ) &...
0
votes
0answers
188 views

WP SiteHealth check reports “The REST API encountered an unexpected result”. Where to setup SSL *client* cert for *internal* WP use?

I'm running WP 5.7 on Linux. It's an Nginx server. I'm setting up an internal site with policy that requires all services using SSL client cert verification enabled. The WP host listener has ssl ...
0
votes
1answer
60 views

How to get the full stack trace for WordPress “table doesn't exist” error in debug.log?

I'm getting a WordPress "table doesn't exist" error in my debug.log, but unlike most errors it doesn't give a full stack trace to help me isolate the code. Anyone know how to tell WordPress ...
-2
votes
1answer
65 views

WordPress is not sending the 2nd email in the same request

When I try to send more than one email message in the same request, only de 1st message is sent, the rest of the messages are blocked with the error "Message body empty". The following code ...
1
vote
0answers
273 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 ...
0
votes
2answers
50 views

Which is the correct way to conditionally enqueue a CSS file?

get_queried_object returns NULL inside a function hooked to wp_enqueue_scripts action hook when going to an nonexistent category URL on my website. If the category exists, the error is not shown and I ...
0
votes
0answers
29 views

Unable to view theme options

I am restructuring how my WordPress files are organized in order to use Composer along with tracking the theme and child theme in a Github repository. I'm following this guidance for the most part, ...
0
votes
1answer
20 views

Undefined offset: 0 in WordPress after latest version upgrade [closed]

My WordPress powered website always worked great, however after the latest upgrade to 5.6.2 and 5.7 I have a major issue that actually breaks an important part of the website, I have seen to go ...
0
votes
0answers
35 views

Getting Download failed. cURL error 28: Connection timed out after 10001 milliseconds

I'm trying to install some external plugins that came with my theme and I can't see to find a way to get the communication to work properly. I also have this issue being reported when trying to start ...
1
vote
1answer
729 views

Odd error on top of my dashboard. How do I fix it?

This error is popping up 5 times on the top of my dashboard saying: Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use ...
0
votes
1answer
11 views

Error missing MySQL extension

Yesterday I delete some files to clean up my storage. After that, I face the following error while visiting my website. Your PHP installation appears to be missing the MySQL extension which is ...
0
votes
1answer
25 views

Fatal error for category archives

When entering the blog and clicking on any of the categories, an error appears. There was a fatal error with this site. Learn more about WordPress troubleshooting. When using the query monitor tool, ...
0
votes
1answer
270 views

Error in the wp-config.php file: PHP Fatal error: Uncaught Error: Unknown named parameter (PHP 8.0)

I get the following error: [06-Mar-2021 03:07:05 UTC] PHP Fatal error: Uncaught Error: Unknown named parameter $tasks_meta_id in /var/www/example.com/html/wordpress/wp-includes/class-wp-hook.php:287 ...
1
vote
0answers
30 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 ...
1
vote
1answer
588 views

Error : “Updating failed: The response is not a valid JSON response” with custom shortcode

I am building a theme into which I have integrated data recovered by an external API. I chose to create a plugin in which I put all my data processing, it allows me to generate a shortcode with which ...
0
votes
0answers
25 views

wp_insert_user error

Hi before this I using wp_create_user. It was working properly. Now I change it little bit of my code to use wp_insert_user. I change because i have custom field to set but now I using standard field ,...
0
votes
0answers
35 views

Getting a 404 error on auto-generated archive link (in wp widget)

I'm using the wordpress archive widget in my sidebar. The permalinks are set to the format: website.com/year/month/ All of them work except January. I have not set any custom links or changed any ...
0
votes
1answer
51 views

Application passwords not working on localhost?

I have to get following error on the localhost "code":"application_passwords_disabled" Server & Apache: Xampp v3.2.4 OP: Win 10 64Bit WP: v5.6.1
0
votes
0answers
15 views

WP search box on page not finding .PDF files

Current marketing person left the business and I'm filling the role for now. Receiving code from search page which formally was able to locate .PDF files by typing in and searching by key word(s.) The ...
0
votes
0answers
40 views

Error regarding invalid file permissions for upgrading WordPress version

I recently installed wordpress and am working with it locally. The WordPress folder is at the following path: usr/share/wordpress But the version of WordPress is WordPress 4.9.5 and I want to update ...
0
votes
0answers
10 views

Dashboard buttons not working

I’m editing a website and some buttons in the edit page section don’t work. The collapse buttons on the top of each section on the right side don’t work aswell as the functionality to reorder them. I ...
0
votes
1answer
22 views

Help! ERROR: Cookies are blocked due to unexpected output on attempting to login to resolve an issue with my site

First-timer over here! Domain for the buggered website (you'll see what I mean!) http://www.clarkephotographic.co.uk/ URL I am using to try to login to WordPress backend to fix the issue http://www....

1
2 3 4 5
23