[wp-trac] [WordPress Trac] #55601: PHP Warning in wp-db.php on line 740
WordPress Trac
noreply at wordpress.org
Thu Apr 21 13:58:04 UTC 2022
#55601: PHP Warning in wp-db.php on line 740
--------------------------+-----------------------------
Reporter: jimhill10 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version:
Severity: trivial | Keywords:
Focuses: |
--------------------------+-----------------------------
I began seeing this PHP warning when I moved to PHP 8.0 WordPress 5.9.3:
{{{
[NOTICE] [2996] [T0] [x.x.x.x:52242#APVH_domain.com:443] [STDERR]
PHP Warning: Undefined property: wpdb::$actionscheduler_groups in
/home/username/public_html/wp-includes/wp-db.php on line 740
}}}
Where the x.x.x.x is one of the IP's for my Sucuri proxy and domain.com is
the domain being served.
The function in that file is:
{{{
/**
* Makes private properties readable for backward compatibility.
*
* @since 3.5.0
*
* @param string $name The private member to get, and optionally
process.
* @return mixed The private member.
*/
public function __get( $name ) {
if ( 'col_info' === $name ) {
$this->load_col_info();
}
return $this->$name;
}
}}}
and line 740 is:
{{{
return $this->$name;
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55601>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list