To post a new support question, click the Post New Topic button below.
Current Version: 4.9.1 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Error When Switching From Php 7.4 To 8.1.4, In Php 7.4 No Error In Version 4.1.1

M
21 posts
Fri May 06, 22 8:18 AM CST

Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/store/photoprods/pp.products.php:462 Stack trace: #0 /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/store/photoprods/pp.products.php(462): round('1600,Grandern80...') #1 /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/store/photoprods/pp.products.php(339): listProductBase('download') #2 /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/store/photoprods/pp.index.php(18): include('/home/clients/6...') #3 /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/index.php(826): include('/home/clients/6...') #4 {main} thrown in /home/clients/69ca17db19f81696f07fed63ec3bb030/web/photos/sy-admin/store/photoprods/pp.products.php on line 462
16,216 posts (admin)
Fri May 06, 22 10:33 AM CST
Looks like when editing a product? Does it by chance have a crop value with the width and nothing for the height?

That line the error is on doesn't match up with a round function.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
M
21 posts
Sat May 07, 22 2:05 AM CST
Here is what is inside:
1600,Large
800,Medium
400,Small

If I empty and remove the sizes no more errors but impossible to edit to modify under PHP 8.1
16,216 posts (admin)
Sun May 08, 22 6:41 AM CST
I was able to duplicate it now and will be fixed in a follow-up update out in a few days.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
M
21 posts
Tue May 10, 22 11:36 PM CST
thank you for the reactivity
5 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 535 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close