PHP 5.6 Notices and PHP 7.0 Fatal error
-
Hi Steve,
I saw that there was a closed unanswered post about PHP notices almost 2 years ago, is this plugin abandoned? I was hoping to use this plugin with PHP 7.0 or higher.
With PHP 5.6, there are the following notices:
Notice: Undefined index: uses in \wp-content\plugins\dynamic-background\dynamic-background.php on line 143 Notice: Undefined index: usel in \wp-content\plugins\dynamic-background\dynamic-background.php on line 144 Notice: Undefined index: cbpost in \wp-content\plugins\dynamic-background\dynamic-background.php on line 192 Notice: Undefined index: cbpicpost in \wp-content\plugins\dynamic-background\dynamic-background.php on line 198 Notice: Undefined index: cbpicpage in \wp-content\plugins\dynamic-background\dynamic-background.php on line 217 Notice: Undefined variable: sT in \wp-content\plugins\dynamic-background\dynamic-background.php on line 243 Notice: Undefined variable: lT in \plugins\dynamic-background\dynamic-background.php on line 244 Notice: Undefined variable: picpagelist in \wp-content\plugins\dynamic-background\dynamic-background.php on line 251 Notice: Uninitialized string offset: 0 in \wp-content\plugins\dynamic-background\dynamic-background.php on line 345 Notice: Uninitialized string offset: 0 in \wp-content\plugins\dynamic-background\dynamic-background.php on line 353
With PHP 7.0, there is a fatal error
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in \wp-includes\wp-db.php:1562 Stack trace: #0 \wp-includes\wp-db.php(592): wpdb->db_connect() #1 \wp-includes\load.php(404): wpdb->__construct('root', '', 'wp-svg', 'localhost') #2 \wp-settings.php(106): require_wp_db() #3 \wp-config.php(93): require_once('H:\\WAMP64\\www\\W...') #4 \wp-load.php(37): require_once('H:\\WAMP64\\www\\W...') #5 \wp-admin\admin.php(31): require_once('H:\\WAMP64\\www\\W...') #6 \wp-admin\themes.php(10): require_once('H:\\WAMP64\\www\\W...') #7 {main} thrown in \wp-includes\wp-db.php on line 1562
- The topic ‘PHP 5.6 Notices and PHP 7.0 Fatal error’ is closed to new replies.