Page 1 of 1

Mass Update PHP Error

Posted: 2020-01-04 22:27
by mgoetze
I am using Mass Update plugin to modify a single field in my table, but I keep getting "Error Occured" when trying to update the field. Initially, I thought it was related to the number of records I was trying to edit, but after looking at the log I believe it has something to do with image paths. Here is the error that is thrown after I try to use the plugin (some information has been xxx'ed out for privacy):

[Sat Jan 04 16:04:29.498797 2020] [proxy_fcgi:error] [pid 14162:tid 139821225854720] [client xx.xxx.xxx.xxx:53854] AH01071: Got error 'PHP message: PHP Warning: filemtime(): stat failed for ./images/ed6390cc8322ff799_dv.jpg in /var/www/vhosts/xxxxxxx.net/appgini/thumbnail.php on line 119', referer: https://xxxxx.xxxxxxxx.net/admin/pageRe ... fective_us

I tried using the Rebuild Thumbnails feature in AppGini Admin but that didnt correct the issue.

Any other ideas on how to fix this error?

Re: Mass Update PHP Error

Posted: 2020-01-04 22:55
by mgoetze
I reuploaded the hooks directory from my Appgini install and that seems to have fixed the error above.

HOWEVER, there is a new error that seems to occur when I try and update a large number of records using the mass update plug-in:

[Sat Jan 04 16:39:14.845302 2020] [proxy_fcgi:error] [pid 14161:tid 139821083178752] [client xxx.xxx.xxx.xxx:57276] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/xxxxx.net/appgini/plugins/mass_update/generate.php on line 620PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/xxxxxx.net/appgini/plugins/mass_update/generate.php on line 620', referer: https://xxxxxxx.net/plugins/mass_update ... cdc7635a23

Searching online for the error brings up either :
1. incorrect PHP coding
2. PHP version compatibility

Anyone have any ideas how to fix?

Re: Mass Update PHP Error

Posted: 2020-03-30 12:34
by a.gneady
Sorry for the long delay. We've released a new version of Mass Update plugin that include a fix for this issue. You can download it from the plugins download page at https://bigprof.com/appgini/download-plugins