{"id":11182149,"date":"2019-02-07T23:57:11","date_gmt":"2019-02-07T23:57:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php7-38\/"},"modified":"2019-02-07T23:57:11","modified_gmt":"2019-02-07T23:57:11","slug":"php7-38","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php7-38\/","title":{"rendered":"php7"},"content":{"rendered":"<p>Hi Alex,<\/p>\n<p>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?<br \/>\nIt 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.<\/p>\n<p>This is what I&#8217;m getting (&#8220;my path&#8221; is replacing actual path):<\/p>\n<p>Fatal error: Uncaught Error: Call to undefined function mysql_connect() in \/my path\/wp-content\/plugins\/php-everywhere\/shortcode.php(15) : eval()&#8217;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, &#8221;, &#8216;php_everywhere&#8217;) #2 [internal function]: do_shortcode_tag(Array) #3 \/my path\/wp-includes\/shortcodes.php(197): preg_replace_callback(&#8216;\/\\\\[(\\\\[?)(displa&#8230;&#8217;, &#8216;do_shortcode_ta&#8230;&#8217;, &#8216;&lt;head&gt;\\r\\n&lt;link r&#8230;&#8217;) #4 \/my path\/wp-includes\/class-wp-hook.php(286): do_shortcode(&#8216;&lt;head&gt;\\r\\n&lt;link r&#8230;&#8217;) #5 \/my path\/wp-includes\/plugin.php(203): WP_Hook-&gt;apply_filters(&#8216;&lt;head&gt;\\r\\n&lt;link r&#8230;&#8217;, Array) #6 \/my path\/wp-includes\/post-template.php(240): apply_filters(&#8216;the_content&#8217;, &#8216;&lt;head&gt;\\r\\n&lt;link r&#8230;&#8217;) #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()&#8217;d code on line 28<\/p>\n","protected":false},"template":"","class_list":["post-11182149","topic","type-topic","status-publish","hentry","topic-tag-php7"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11182149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11182149\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11182149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}