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
3 answers
3k 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'); $...
pee2pee's user avatar
  • 141
0 votes
0 answers
720 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 ...
mhweb's user avatar
  • 65
1 vote
0 answers
1k 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} ...
Muhammad Mazhar Iqbal's user avatar
0 votes
1 answer
209 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 ...
user1956396's user avatar
0 votes
1 answer
13 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 ...
Dewruwan's user avatar
0 votes
0 answers
22 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 ...
X9DESIGN's user avatar
  • 159
1 vote
1 answer
209 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. ...
Zippy1970's user avatar
  • 111
0 votes
0 answers
21 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 ...
Peter Strutt's user avatar
0 votes
0 answers
82 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: ...
tkdhanasekar's user avatar
0 votes
1 answer
24 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. ...
Steve Bonilla's user avatar
0 votes
1 answer
29 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....
Ammar Awan's user avatar
2 votes
1 answer
1k 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 ...
TheKidsWantDjent's user avatar
1 vote
1 answer
880 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 ...
Baim Quraisy's user avatar
0 votes
0 answers
48 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 ...
Pxx's user avatar
  • 101
0 votes
0 answers
50 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 ...
Baru Muturi's user avatar
0 votes
0 answers
259 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 ...
Tshepo Gumede's user avatar
0 votes
0 answers
426 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.
lala rg's user avatar
0 votes
1 answer
75 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 ...
Jiten's user avatar
  • 1
1 vote
0 answers
694 views

PHP Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE), expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line 124

Trying to help a friend move her website to a different host. Website works fine but when I move it I get the following error: PHP Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE), ...
Drew Jackson's user avatar
1 vote
2 answers
692 views

Widgets and Post/Page edit/new blank, console errors only, no server errors

My post edit, post create, page edit, page create are completely blank pages (no WordPress navigation bar, no top admin bar). My widget page has the top admin bar and side navigation, but the rest of ...
Kender's user avatar
  • 133
0 votes
0 answers
236 views

Getting an error on a new website

I'm getting the following on a fresh install of Wordpress: thrown in /home/f4ye7hvx3rrq/public_html/deleteme.wphxbn.php on line 16 [04-Dec-2021 17:30:37 UTC] PHP Fatal error: Uncaught Error: Call to ...
Fletch B's user avatar
0 votes
0 answers
256 views

A critical error has occurred on the site

I´m running my own Ubuntu webserver 18.04.6. I get this error but dont know how to solve it, can someone pls help? Can´t create new posts or pages on the website. Error: A critical error has occurred ...
Henrik Bergström's user avatar
0 votes
1 answer
251 views

WordPress Post 403 Error Based on Slug

For some unknown reason, some of my posts keep producing 403 errors. The only thing I've tried that actually works is changing the slug / post URL. Here's the error log in Apache: AH01276: Cannot ...
jpollar's user avatar
  • 13
0 votes
1 answer
52 views

Can't log in to WordPress wp-admin after adding code to functions.php

I am adding the following code to the end of my functions.php file to populate a taxonomy based on a Custom post's post-title. The problem is that when I add the code I get the following error trying ...
Alex P's user avatar
  • 1
0 votes
0 answers
38 views

Open_basedir errors - But setting basedir to none redults in 502 Bad Gateway

I'm getting open-basedir errors from various plugins, such as updraft plus and super cache. Changing open-basedir to "none" from PHP options resulted in a 502 error. I'm noticing that all ...
Lyra's user avatar
  • 1
0 votes
0 answers
56 views

Undefined variable: testimonial in D:\Projects\PWP-WP\wp-content\themes\blankslate-child\template-parts\fields\flex\bottom-page-block.php on line 123

In the test environment I see this error ( ! ) Notice: Undefined variable: testimonial in D:\Projects\PWP-WP\wp-content\themes\blankslate-child\template-parts\fields\flex\bottom-page-block.php on line ...
CodeForGood's user avatar
0 votes
1 answer
203 views

Error code when migrate

I got this error code after migration to different server. Warning: require_once(/home/customer/www/noname.com/public_html/wp-includes/widgets/class-wp-widget-pages.php): failed to open stream: No ...
awex's user avatar
  • 1
0 votes
1 answer
74 views

Fatal error: Uncaught Error: Maximum function nesting level of '5000' reached

I am facing a problem while coding. Trying to develop a theme. But an error is showing in the screen just like the attached screenshot. Code is attached here. Can anyone help me out there? in ...
Tanvir's user avatar
  • 1
1 vote
1 answer
10k views

PHP Warning: Attempt to read property "term_id" on bool

Since updating from PHP 7.4 to PHP 8, my error_log is now full of lines like this from a child theme I'm using: [17-Oct-2021 13:30:38 UTC] PHP Warning: Attempt to read property "term_id" ...
algalg's user avatar
  • 115
1 vote
2 answers
1k views

Customizing login error messages

Where and how would I be able to customize the login error messages? "Error: The username <> is not registered on this site. If you are unsure of your username, try your email address ...
ceetee's user avatar
  • 11
0 votes
1 answer
3k views

Uncaught TypeError: jQuery(...).slider is not a function

i am trying to use the jQuery-ui function: slider(): here's my code that i wrote inside the jQuery(document).ready...: jQuery("#slider-wp").slider() and in my functions.php file i wrote ...
OmarAc's user avatar
  • 3
0 votes
0 answers
43 views

Cannot find the php_ini configuration file to find my error log to see why my code is not working

would anybody know where I could find the php_ini configuration file to look for error log, as my code will not work in wordpress. I went to app folder, then public folder, but only see wp_config.php ...
Spencer Halstead's user avatar
0 votes
0 answers
82 views

White screen after migrating site, but wp-admin works fine. Disabling all plugins, applying default theme and enabling debug mode does nothing

I migrated my wordpress site from a very old host with these steps: Downloaded the site to local desktop Downloaded database (php 5.5) Created new database in myphp (php 7.4) and edited exported ...
buttboy420's user avatar
1 vote
0 answers
593 views

Python with wordpress plugin

I am trying to do some experiments with python and wordpress plugins. I would like to have shortcode [python] with some functionalities. I was trying this metod - Method i tried, but when I do ...
TriX 's user avatar
  • 11
0 votes
0 answers
761 views

Fatal error login Wordpress [duplicate]

When I want to login to my wordpress this appears: Fatal error: Uncaught ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "\t", &...
Joshua Mart's user avatar
0 votes
1 answer
117 views

WPGut - Updating failed and shortcode?

I have a problem updating the WordPress page with custom created shortcode and inserted it? Help, error status code: Updating failed. The response is not a valid JSON response. Shortcode: function ...
Milosh N.'s user avatar
  • 205
0 votes
1 answer
867 views

Wordpress POST AJAX call, var_dump($_POST) NULL and AJAX response empty when inside ob_start

i have a nav tabs when i click on a tab, i want it to return a specific type of posts, here's the code html one of the tabs: <ul id="menu-menu-secondaire-blog" class="nav nav-tabs&...
OmarAc's user avatar
  • 3
0 votes
1 answer
1k views

Fatal error: Cannot redeclare load_stylesheets() (previously declared in

Updated Question: I’ve declared a basic child theme. As I create a function to enqueue stylesheets, my website crashes and gives me a Fatal error: Cannot redeclare thando_stylesheets() (previously ...
Thando Hlophe's user avatar
0 votes
2 answers
230 views

Console Browser says it cannot find a requested image that does not exist on my Website [closed]

I have a site that I am working on and I noticed that I get this error in my browser console: Failed to load resource: the server responded with a status of 404 () It was trying to load a image file ...
Peter Missick's user avatar
0 votes
1 answer
50 views

After updating the WordPress getting a syntax error in the console

I have updated the WordPress 5.8 and I am getting some errors in the console. . I have 5-6 custom widgets on my website that are working on the web page but in the admin panel, I am not getting it. It ...
user9437856's user avatar
1 vote
0 answers
36 views

Custom permalinks with hierarchical taxonomy - getting PHP warning

I have a site where a CPT needs to have permalink structure with custom taxonomies (parent and child). Following this solution https://wordpress.stackexchange.com/a/75172/210080 I got custom ...
Hellosus's user avatar
1 vote
0 answers
275 views

Wordpress fatal error from php protocol codes

This is the website link: dormireacuba .it/ When I'm trying to visit this site then just showing some fatal errors Fatal error: Uncaught Error: Call to undefined function wp_fix_server_vars() in /web/...
SY Shahadot's user avatar
0 votes
0 answers
2k views

Help with "Uncaught Error: Attempt to modify property "response" on bool"

A client of mine had me build a site for him. I no longer manager the site, but the client recently reached out to say they received a message from Wordpress that said: Uncaught Error: Attempt to ...
Kami Miller's user avatar
-1 votes
1 answer
65 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....
Serpher's user avatar
1 vote
0 answers
6k 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 ...
Meyer Auslander - Tst's user avatar
1 vote
0 answers
131 views

My wordpress site loads perfectly, but I cannot access the menus in the admin panel

Initially, the admin panel home was not loading. But got that to work by adding a line of code in a php file. But it did not solve the main issue. I still can't access any of the menus and options. A ...
Rahul Roy's user avatar
0 votes
1 answer
118 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 ...
Danger14's user avatar
  • 219
0 votes
0 answers
480 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......
Epson_Mil's user avatar
0 votes
0 answers
42 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 ...
Windows's user avatar
0 votes
0 answers
224 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'), ...
Muhammed luqman Bolaji's user avatar

1 2
3
4 5
25