... and it's now available for download.
Printable View
On a test server I have
- Zen Cart version 1.5.5f
- PHP 7.2.9
I am getting the following warnings
This may need some fixing in a future versionCode:[17-Sep-2018 10:33:05 Europe/Amsterdam] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php on line 174
[17-Sep-2018 10:33:05 Europe/Amsterdam] Request URI: /index.php?main_page=compare, IP address: 143.177.116.2#1 sizeof() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:174]
#2 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:221]
#3 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:211]
#4 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:60]
#5 superglobals_echo() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:274]
#6 require(/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/index.php:97]
[17-Sep-2018 10:33:05 Europe/Amsterdam] PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php on line 174
[17-Sep-2018 10:33:05 Europe/Amsterdam] Request URI: /index.php?main_page=compare, IP address: 143.177.116.2
#1 sizeof() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:174]
#2 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:221]
#3 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:211]
#4 superglobals_format() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/functions/extra_functions/superglobals.php:60]
#5 superglobals_echo() called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:274]
#6 require(/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/zen4all-dev/domains/compare.zen4all-dev.nl/public_html/index.php:97]
GitHub issue created for tracking: https://github.com/lat9/super_globals_plus/issues/11
I've just submitted v2.0.0 of Super Globals Plus to the Zen Cart plugins area for review. This version, compatible will Zen Cart versions 1.3.9a-1.5.6a, contains the changes associated with the following GitHub-identified issues:
#11: Need to check is_countable for PHP 7.2+
#12: Remove admin/template overwrites from this distribution; now covered in installation instructions.
Now available for download from the Zen Cart plugins area: https://www.zen-cart.com/downloads.php?do=file&id=524
I've just submitted v2.0.1 of Super Globals to the plugin moderators for review and will post back here once it's available for download.
This release contains the changes associated with the following GitHub issues:
#13: (Documentation) Correct admin-footer constant error
#14: Correct "Only variables should be passed by reference"
Thanks, @torvista, for identifying the issues!
Now available for download from the Zen Cart plugins area: https://www.zen-cart.com/downloads.php?do=file&id=524
PHP 7.2.21
MySQL 5.7.27
ZC 1.5.6c New Install
Apache
No Categories or Products
Installed Mods:
MagicThumb
Instant Search
Mod List - (All latest forum or github version)
Report All Errors
Responsive Color Changes
Sitemap XML
Super Globals Plus
USPS
zenNonCaptcha
ckeditor
clone template
display logs
Encrypted Master Password
Getting:Code:[18-Aug-2019 20:17:52 UTC] Request URI: /156c/******/keepalive.php?_=1566159280046, IP address: 000.000.000.000
#1 include(/home/******/public_html/156c/includes/functions/extra_functions/superglobals.php) called at [/home/******/public_html/156c/******/includes/functions/extra_functions/superglobals.php:78]
#2 require(/home/******/public_html/156c/******/includes/functions/extra_functions/superglobals.php) called at [/home/******/public_html/156c/******/includes/init_includes/init_general_funcs.php:45]
#3 require(/home/******/public_html/156c/******/includes/init_includes/init_general_funcs.php) called at [/home/******/public_html/156c/includes/autoload_func.php:48]
#4 require(/home/******/public_html/156c/includes/autoload_func.php) called at [/home/******/public_html/156c/******/includes/application_top.php:171]
#5 require(/home/******/public_html/156c/******/includes/application_top.php) called at [/home/******/public_html/156c/******/keepalive.php:9]
--> PHP Warning: Use of undefined constant SHOW_SUPERGLOBALS_QUERYCACHE - assumed 'SHOW_SUPERGLOBALS_QUERYCACHE' (this will throw an Error in a future version of PHP) in /home/******/public_html/156c/includes/functions/extra_functions/superglobals.php on line 62.