To post a new support question, click the Post New Topic button below.
Current Version: 4.9.2 | 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.

Errors.txt File

m
279 posts
Tue Dec 21, 21 5:39 PM CST
I get the following error messages in the error.txt file. There are repeated lines of the following error:

[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 271
[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 290
[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 308
[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 339
[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 357
[21-Dec-2021 22:27:02 Australia/Melbourne] PHP Warning: Division by zero in /home/michaelm/public_html/milnerstudios/sy-footer.php on line 371


How do we correct this error?
mike
16,242 posts (admin)
Wed Dec 22, 21 6:29 AM CST
It is a warning, not an error, saying something is being divided by zero. According go the warning lines, it would look like there is no value in Design -> Edit My Theme -> On Photo Listing width or height option. If you are using more than one theme it could be in another theme.

If you add a height and width value and still getting warnings and if the warnings are bothering you you can go to Settings then UNDERNEATH the left menu edit config file, change the error_reporting value which will probably be:

error_reporting(E_ALL ^ E_NOTICE);

To:

error_reporting(E_ALL);

If that doesn't work then change it to

error_reporting(0);
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
2 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 297 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