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?
Mass Update PHP Error
Re: Mass Update PHP Error
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?
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
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
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.