Hi.
I’ve been able to narrow down the source., after activating error logging.
DB functions are called with bad arguments in several functions.
Theses error are not new, i also got them in 1.5.4. The last update did not solved anything.
Here is a stack trace example. ( running on PHP 7.1 )
Can the team look into it ? It seems to also block form submission as my client got nothing in his CRM after a form submission
Thanks
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /wp-content/plugins/zoho-crm-forms/includes/crmshortcodefunctions.php on line 628 and exactly 2 expected in /wp-includes/wp-db.php:1222
Stack trace:
#0 /wp-content/plugins/zoho-crm-forms/includes/crmshortcodefunctions.php(628): wpdb->prepare('select *from zc...')
#1 /wp-content/plugins/zoho-crm-forms/includes/crminterfunction.php(55): zcfManageShortcodesActions::zcfsynceditUploadField('Leads', 'Standard', 'Unititled', '', 'uEFN9')
#2 /wp-includes/class-wp-hook.php(286): zcfajaxcore::zcfnewlead_form('')
#3 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#4 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#5 / in /wp-includes/wp-db.php on line 1222