Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#55601 closed defect (bug) (invalid)

PHP Warning in wp-db.php on line 740

Reported by: jimhill10's profile jimhill10 Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Database Keywords:
Focuses: Cc:

Description

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;

Change History (2)

#1 @peterwilsoncc
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello and welcome to trac!

The variable name wpdb::$actionscheduler_groups isn't used by WordPress and suggests the error is coming from the Action Scheduler plugin. This is often installed behind the scenes by other plugins.

There is an issue on their GitHub repository discussing the bug you are seeing.

If you aren't using Action Scheduler directly, you may wish to ask in the WordPress support forums for assistance determining which of your plugins is using it. That's where you will find the best people able to assist.

As the bug you are seeing is coming from a plugin, I've closed this ticket as invalid. In this case, that's trac's unfriendly term to indicate I've referred you to a plugin for support.

#2 @jimhill10
2 years ago

Thanks so much for your help on this.

Note: See TracTickets for help on using tickets.