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
10 views

Trying to access array offset on value of type bool - Cargo WordPress Theme [closed]

I use the Hatem template using xaamp and after importing the demo, this message appears on the home page of the site Warning: Trying to access array offset on value of type bool in E:\xampp\htdocs\...
user avatar
0 votes
1 answer
13 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 ...
user avatar
2 votes
1 answer
73 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 ...
user avatar
-1 votes
0 answers
5 views

How to improve my php website load time as google page speed? [closed]

There are a few things you can do to improve your PHP website's load time, as measured by Google PageSpeed Insights. First, make sure that you are using a fast web host. If your website is hosted on a ...
user avatar
0 votes
0 answers
14 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 ...
user avatar
0 votes
1 answer
113 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'); $...
user avatar
  • 141
0 votes
0 answers
90 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 ...
user avatar
  • 55
0 votes
0 answers
73 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} ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
0 votes
0 answers
20 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://...
user avatar
0 votes
1 answer
9 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 ...
user avatar
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 ...
user avatar
  • 145
0 votes
0 answers
31 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 ...
user avatar
1 vote
1 answer
43 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. ...
user avatar
  • 111
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
0 votes
0 answers
23 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: ...
user avatar
0 votes
1 answer
20 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. ...
user avatar
0 votes
1 answer
27 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....
user avatar
1 vote
1 answer
23 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 ...
user avatar
0 votes
0 answers
77 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 ...
user avatar
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 ...
user avatar
1 vote
0 answers
52 views

Gravity form Load By Ajax Cannot Submit - Error 400

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 ...
user avatar
0 votes
0 answers
25 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['...
user avatar
  • 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 ...
user avatar
  • 101
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
62 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 ...
user avatar
0 votes
0 answers
57 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.
user avatar
0 votes
1 answer
20 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 ...
user avatar
  • 1
0 votes
0 answers
94 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), ...
user avatar
0 votes
1 answer
107 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 ...
user avatar
  • 113
0 votes
0 answers
62 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 ...
user avatar
0 votes
0 answers
78 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 ...
user avatar
0 votes
0 answers
14 views

Why I get a blank screen when trying to make wordpress post/pages edits?

I am working on a Wordpress live website, and when I press edit button it just throws a lot of errors in the console, and I can't make any edits. I tried to copy live environment to dev, and I can ...
user avatar
  • 1
0 votes
0 answers
20 views

Unable to login my wordpress website

wp-login.php?redirect_to=https%3A%2F%2Fkairagroups.com%2Fwp-admin%2F&reauth=1 I see this URL error and also deactivated all plugins, deactivating themes and deleted .htaccess file also but still ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
  • 13
0 votes
0 answers
26 views

Replace old theme that understand old css (vcex_icon_box css_animation)

I have just updated a 4.9.3 old wordpress with the new 5.8.1. The theme, which was a custom one using WPBakery 5.1.1, is using old PHP functions (PHP has been updated also to the last version) so Im ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
  • 1
0 votes
0 answers
12 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 ...
user avatar
  • 1
0 votes
0 answers
33 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 1
0 votes
1 answer
25 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 ...
user avatar
  • 1
0 votes
1 answer
2k 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" ...
user avatar
  • 105
0 votes
0 answers
202 views

Wordpress Woocommerce REST API JSON Error

I have a problem with Rest Api, I am using Automattic Woocommerce Rest Api to search categories, I am getting this error: PHP Fatal error: Uncaught Automattic\WooCommerce\HttpClient\...
user avatar
1 vote
1 answer
171 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 ...
user avatar
  • 11
0 votes
1 answer
528 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 ...
user avatar
  • 3
0 votes
0 answers
20 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback - whenever i navigate to wp-admin [duplicate]

whenever i navigate to URL/wp-admin/ i face this error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /...
user avatar
  • 101
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
1 vote
0 answers
218 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 ...
user avatar
  • 11

1
2 3 4 5
24