[wp-trac] [WordPress Trac] #58574: PHP warnings

WordPress Trac noreply at wordpress.org
Mon Jun 19 20:58:50 UTC 2023


#58574: PHP warnings
--------------------------+------------------------------
 Reporter:  dyos          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.2.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => close


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 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/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58574#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list