Make WordPress Core

Opened 22 months ago

Last modified 22 months ago

#58574 new defect (bug)

PHP warnings

Reported by: dyos's profile dyos Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: General Keywords: close
Focuses: Cc:

Description (last modified by sabernhardt)

Hey,

I'm using PHP 8.1, and I have encountered these PHP notices (I don't sure if they are all related to WordPress Core)

Warning: Undefined property: wpdb::$actionscheduler_actions in /home/......./....../wp-includes/class-wpdb.php on line 789
WordPress database error: [Table 'doryos1_dream_press.a' doesn't exist]
SELECT a.action_id FROM a WHERE 1=1 AND a.hook='rocket_preload_job_check_finished' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 5

Warning: Undefined property: wpdb::$actionscheduler_groups in /home/......./....../wp-includes/class-wpdb.php on line 789
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE slug='rocket-preload'' at line 1]
SELECT group_id FROM WHERE slug='rocket-preload'

Warning: Undefined property: wpdb::$actionscheduler_groups in /home/......./....../wp-includes/class-wpdb.php on line 789

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/......./....../wp-includes/class-wpdb.php on line 3255

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/......./....../wp-includes/class-wpdb.php on line 3151

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/......./....../wp-includes/class-wpdb.php on line 3177
WordPress database error: [Incorrect table name '']
SHOW FULL COLUMNS FROM ``

=====================================================

Notice: Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /home/......./....../wp-includes/functions.php on line 5865

Change History (1)

#1 @sabernhardt
22 months ago

  • Description modified (diff)
  • Keywords close added

Hi and welcome to WordPress Core Trac!

The rocket_preload_job_check_finished hook indicates that the WP Rocket plugin is somehow connected to the issue, even if it is not the main cause.

You probably would get better help from their support than Trac.
https://wp-rocket.me/support/

Note: See TracTickets for help on using tickets.