Database Cleanup – Warning: Attempt to read property
-
Hello
a new problem. On the Database Cleanup page I get the following error
In the class-advanced.php this code can be found.
/** * Database cleanup meta box. */ public function advanced_db_metabox() { $fields = Advanced_Module::get_db_fields(); $data = Advanced_Module::get_db_count(); foreach ( $fields as $type => $field ) { $fields[ $type ]['value'] = $data->$type; } $this->view( 'advanced/db-meta-box', compact( 'fields' ) ); }
Line 181 is this
$fields[ $type ]['value'] = $data->$type;
How can I fix this error?
Many greetings
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Database Cleanup – Warning: Attempt to read property’ is closed to new replies.