Stack trace errors with 4.4.2 and PHP 7.0.0
-
A simple [abase] SQL Select page was working perfectly on WP 4.1 and PHP 5.4. Upgraded to latest Abase 2.5.1, WP 4.4.1 and PHP 7.0.0 and now the [abase] code throws errors into the WP log and produces no output on the web page. The WP log points the finger at abase.php line 619, which appears to be the mysql_connect() call, and abase.php line 61,
$abase_output = bus311tabledisplay_function(0,$incomingfrompost,$content);
No changes were made to the site. It uses Suffusion theme. Single database and table.
Due to the blank output on the page, I have been forced to temporarily remove it from the site.I realise this is an untested combination at this time, so for other users this is a heads-up awareness of problems ahead. My decision to upgrade was initiated by 1&1, my hosting company, as they will soon be charging premium support fees for back releases of PHP.
Please, is it possible to prioritise the testing of this latest combination of WP platform and PHP versions? Thanks.
The unchanged [abase] code for the page is:
[abase sql="SELECT CONCAT('','',
Botanical name,'') AS
Botanical name,
Common name,
Description,
Jan,
Feb,
Mar,
Apr,
May,
Jun,
Jul,
Aug,
Sep,
Oct,
Nov,
DecFROM flowers WHERE flowers.Colour='Black' "]
The WP log shows
———————Stack trace: #0 /homepages/3/d478243850/htdocs/public/wp-content/plugins/abase/abase.php(61): bus311tabledisplay_function(0, Array, '') #1 /homepages/3/d478243850/htdocs/public/wp-includes/shortcodes.php(326): abase_handler(Array, '', 'abase') #2 [internal function]: do_shortcode_tag(Array) #3 /homepages/3/d478243850/htdocs/public/wp-includes/shortcodes.php(223): preg_replace_callback('/\\[(\\[?)(abase)...', 'do_shortcode_ta...', '<p>Click the Bo...') #4 /homepages/3/d478243850/htdocs/public/wp-includes/plugin.php(235): do_shortcode('<p>Click the Bo...') #5 /homepages/3/d478243850/htdocs/public/wp-includes/post-template.php(230): apply_filters('the_content', '<p>Click the Bo...') #6 /homepages/3/d478243850/htdocs/public/wp-content/themes/suffusion/post-formats/content.php(30): the_content('Continue readin...') #7 /homepages/3/d478243850/htdocs/public/wp-includes/template.php(564): require('/homepages/3/d4...') #8 /homepages/3/d478243850/htdocs/public/wp-includes/template.php(521): load_template('/homepages/3/d4...', false) #9 /homepages/3/d478243850/htdocs/public/wp-includes/general-template.php(171): locate_template(Array, true, false) #10 /homepages/3/d478243850/htdocs/public/wp-content/themes/suffusion/functions/actions.php(717): get_template_part('post-formats/co...', 'standard') #11 /homepages/3/d478243850/htdocs/public/wp-includes/plugin.php(525): suffusion_excerpt_or_content('') #12 /homepages/3/d478243850/htdocs/public/wp-content/themes/suffusion/functions/actions.php(42): do_action('suffusion_conte...') #13 /homepages/3/d478243850/htdocs/public/wp-content/themes/suffusion/page.php(30): suffusion_content() #14 /homepages/3/d478243850/htdocs/public/wp-includes/template-loader.php(89): include('/homepages/3/d4...') #15 /homepages/3/d478243850/htdocs/public/wp-blog-header.php(16): require_once('/homepages/3/d4...') #16 /homepages/3/d478243850/htdocs/public/index.php(17): require('/homepages/3/d4...') #17 {main} thrown in /homepages/3/d478243850/htdocs/public/wp-content/plugins/abase/abase.php on line 619
——————————-
- The topic ‘Stack trace errors with 4.4.2 and PHP 7.0.0’ is closed to new replies.