• Resolved Flankerator

    (@flankerator)


    Hi Alex,

    I have recently installed a theme that requires php7 but since i switched to php7, i have been getting fatal error on php_everywhere. Can it run on php7?
    It was working fine on php5.4 but since i moved to php7 it kept on crashing on pages and posts where php-everywhere is being used.

    This is what I’m getting (“my path” is replacing actual path):

    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /my path/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code:28 Stack trace: #0 /my path/wp-content/plugins/php-everywhere/shortcode.php(15): eval() #1 /my path/wp-includes/shortcodes.php(319): php_everywhere_func(Array, ”, ‘php_everywhere’) #2 [internal function]: do_shortcode_tag(Array) #3 /my path/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(displa…’, ‘do_shortcode_ta…’, ‘<head>\r\n<link r…’) #4 /my path/wp-includes/class-wp-hook.php(286): do_shortcode(‘<head>\r\n<link r…’) #5 /my path/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<head>\r\n<link r…’, Array) #6 /my path/wp-includes/post-template.php(240): apply_filters(‘the_content’, ‘<head>\r\n<link r…’) #7 /my path/wp-content/themes/arcane/page.php(7): the_content() #8 /my path/wp-includes/template-loade in /my path/public_html/wp-content/plugins/php-everywhere/shortcode.php(15) : eval()’d code on line 28

Viewing 1 replies (of 1 total)
  • Thread Starter Flankerator

    (@flankerator)

    Okk, it appears a lot of php extentions have been removed in php7 and replaced with new ones. So need to update my code.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘php7’ is closed to new replies.