Re: Products Pagination - Support Thread
Quote:
Originally Posted by
torvista
I think it does work out of the box, but it does need fettling for php 8.2.
I have it working and have put up a zc158 branch in my Github which includes those changes, apart from template files.
I'm seeing multiple logs when testing your GitHub version on 1.5.8a running PHP 8.1.13
Code:
PHP Deprecated: Creation of dynamic property products_pagination_observer::$product_names_array is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 14.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$product_names_array is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 15.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$isTablet is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 29.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$isMobile is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 30.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$isDesktop is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 31.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$isEnabled is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 33.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$isEnabledMobile is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 34.
PHP Deprecated: Creation of dynamic property products_pagination_observer::$pagePaginationEnabled is deprecated in /home/embondir/public_html/dev/includes/classes/observers/class.products_pagination_observer.php on line 63.
Re: Products Pagination - Support Thread
I would expect those errors where the variables were not declared before being used, which is not the case here.
I've quickly compared my production files and updated the Github ZC158 branch, but not with anything I would think is related to these errors.
Are you sure you have the observer from that branch in use?
Re: Products Pagination - Support Thread
v3.0.1 of Products' Pagination is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1199
This version requires a minimum Zen Cart version of 1.5.8 and supports the built-in responsive_classic and the ZCA Bootstrap (v3.6.5 or later) templates.
Note: v3.0.1 corrects an admin installation issue introduced in v3.0.0.
Re: Products Pagination - Support Thread
I am seeing the following error log when using version 3.0.1 on ZC 1.5.8a. PHP version 8.1.29
PHP Fatal error: Uncaught Error: Typed property ProductsPaginationObserver::$nextPosition must not be accessed before initialization in /home/dynamicf/public_html/includes/classes/observers/ProductsPaginationObserver.php:291
Re: Products Pagination - Support Thread
Quote:
Originally Posted by
strelitzia
I am seeing the following error log when using version 3.0.1 on ZC 1.5.8a. PHP version 8.1.29
PHP Fatal error: Uncaught Error: Typed property ProductsPaginationObserver::$nextPosition must not be accessed before initialization in /home/dynamicf/public_html/includes/classes/observers/ProductsPaginationObserver.php:291
Did you apply the overrides present in the zc158_override directory, as identified in the plugin's readme.html?
Re: Products Pagination - Support Thread
Quote:
Originally Posted by
lat9
Did you apply the overrides present in the zc158_override directory, as identified in the plugin's readme.html?
Just double checked and I can confirm the overrides for 158 were applied as per the readme.
Re: Products Pagination - Support Thread
Re: Products Pagination - Support Thread
Quote:
Originally Posted by
lat9
What template?
It's a custom template using bootstrap 3.3
Re: Products Pagination - Support Thread
Quote:
Originally Posted by
strelitzia
It's a custom template using bootstrap 3.3
You're on your own; works fine with builtin responsive classic.