SooBahkDo
Member
Posted 7 months ago #
Hello,
After upgrading to 4.7.19 our server logs were flooded with the following error. Downgrading to 4.7.8 eliminated the errors.
Thanks,
Phil D
[17-Oct-2012 14:18:10] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
[17-Oct-2012 14:18:10] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
[17-Oct-2012 14:18:10] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
[17-Oct-2012 14:18:10] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
http://wordpress.org/extend/plugins/wp-photo-album-plus/
SooBahkDo
Member
Posted 7 months ago #
Hello,
I was mistaken that the error resolved.
Today's error logs were flooded with the same and new errors.
[19-Oct-2012 01:49:38] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
[19-Oct-2012 01:49:38] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2492
[19-Oct-2012 01:50:28] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:50:28] PHP Fatal error: require_once(): Failed opening required 'theme/wppa-theme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:50:50] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:50:50] PHP Fatal error: require_once(): Failed opening required 'theme/wppa-theme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:51:00] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:51:00] PHP Fatal error: require_once(): Failed opening required 'theme/wppa-theme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:51:10] PHP Warning: require_once(theme/wppa-theme.php): failed to open stream: No such file or directory in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:51:10] PHP Fatal error: require_once(): Failed opening required 'theme/wppa-theme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-non-admin.php on line 86
[19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280
[19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280
[19-Oct-2012 01:52:09] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2280
Re-install the plugin. it is corrupted.
De-activate, delete and re-install from the plugins page.
SooBahkDo
Member
Posted 6 months ago #
Hello,
I completely deleted the plugin and reinstalled it. I also upgraded to the newest release. I even reinstalled WordPress, but the log files continue to be flooded with errors but the line ref# has changed. Other suggestions?
Thanks,
Phil D
[30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
[30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
[30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
[30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
[30-Oct-2012 20:30:24] PHP Warning: Division by zero in /home/soobabiz/public_html/wp-content/plugins/wp-photo-album-plus/wppa-functions.php on line 2501
What are the settings in Table I-A1, Table I-C3 and Table I-C5 ?
I made a patch to the code.
Please do the following:
Re-install (or update if you did not do that recently) the plugin.
(de-activate, detele and re-install from the plugins page and activate).
Check Table IX-A3 Allow wppa+ debugging.
You will now get only one, human readable, errormessage on the page that may help you to correct a possible misconfiguration.