PHP 7 causing an error
-
I upgraded my hosting to PHP 7, I’m running events manager version 5.9.5. I’m getting this error when viewing an event page:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home1/mosaicha/public_html/db.php:7 Stack trace: #0 /home1/mosaicha/public_html/wp-content/themes/divi-child/single.php(8): include() #1 /home1/mosaicha/public_html/wp-includes/template-loader.php(77): include(‘/home1/mosaicha…’) #2 /home1/mosaicha/public_html/wp-blog-header.php(19): require_once(‘/home1/mosaicha…’) #3 /home1/mosaicha/public_html/index.php(17): require(‘/home1/mosaicha…’) #4 {main} thrown in /home1/mosaicha/public_html/db.php on line 7
I rolled back PHP to 5.6 and that works fine with the plugin. Anyone else have similar issues and have a fix to use it with php7? (I’m using BlueHost if it helps).
Thanks!
- The topic ‘PHP 7 causing an error’ is closed to new replies.