Skip to content Skip to sidebar

Tagged: 

This topic contains 0 reply, has 1 voice.

Last updated by Albert 1 year, 5 months ago.

Assisted by: Long Nguyen.

Author Posts
August 8, 2024 at 6:53 am #16050676

Albert

Background of the issue:
I want to update the Contact page at my website sttproducts.nl. When clicking "Update" button, the site returns a 502 error. At the debug.log the following messages appear in a loop. Almost 50,000 lines are added to the debug.log file: [08-Aug-2024 06:46:32 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/sttproducts.nl/public_html/wp-content/plugins/acfml/classes/Helper/HashCalculator.php on line 67 [08-Aug-2024 06:46:32 UTC] PHP Warning: ksort() expects parameter 1 to be array, float given in /home/customer/www/sttproducts.nl/public_html/wp-content/plugins/acfml/classes/Helper/HashCalculator.php on line 87 I can update other pages, until now it’s the only page we can’t update. I’ve tried to downgrade the plugin, but it doesn’t help. When i disable the plugin, the 502 is gone.

Symptoms:
502 error when updating the Contact page. PHP warnings in debug.log: count(): Parameter must be an array or an object that implements Countable and ksort() expects parameter 1 to be array, float given.

Questions:
Can you see what’s going on?