Forums

Error Message " vsprintf(): Argument #2 ($values) must be of type array, string given"

hjaystevens 02 May, 2021
When I try to create a form in Chronoforms 7 I am getting an error at the bottom of the page, "vsprintf(): Argument #2 ($values) must be of type array, string given" and am unable to create the form. Can anyone explain this error message?
GreyHead 03 May, 2021
Hi hjaystevens,

As you saw from the other thread you posted in Max has not yet updated CFv7 to support PHP v8

Bob
Gatsman 30 Jan, 2023
Is this still true CFv7 if not php 8 ready?
I still get this error with Wordpress CFv7 and php >8

Here is the full error:
Fatal error: Uncaught TypeError: vsprintf(): Argument #2 ($values) must be of type array, string given in D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\lang.php:25 Stack trace:
#0 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\lang.php(25): vsprintf('Select image of...', '%s')
#1 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\gcloader.php(50): G3\L\Lang::_('Select image of...', '%s', false)
#2 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\admin\chronoforms\views\field_secicon\field_secicon.php(16): rl3('Select image of...', '%s')
#3 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\admin\chronoforms\themes\default\views\connections\draggables2.php(18): require('D:\\laragon\\www\\...')
#4 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(261): include('D:\\laragon\\www\\...')
#5 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(333): G3\L\View->_contents('D:\\laragon\\www\\...', Array)
#6 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\admin\chronoforms\themes\default\views\connections\dragndrop_forms.php(68): G3\L\View->view('D:\\laragon\\www\\...')
#7 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(261): include('D:\\laragon\\www\\...')
#8 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(333): G3\L\View->_contents('D:\\laragon\\www\\...', Array)
#9 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\admin\chronoforms\themes\default\views\connections\edit.php(115): G3\L\View->view('D:\\laragon\\www\\...')
#10 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(261): include('D:\\laragon\\www\\...')
#11 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\view.php(217): G3\L\View->_contents('D:\\laragon\\www\\...')
#12 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\app.php(248): G3\L\View->renderView('edit')
#13 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\app.php(78): G3\L\App->dispatch(true)
#14 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\app_loader.php(61): G3\L\App::call('admin', 'chronoforms', 'connections', 'edit', Array)
#15 D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronoforms.php(203): G3\L\AppLoader->__construct(Array)
#16 D:\laragon\www\cf7test\wp-includes\class-wp-hook.php(308): Chronoforms->cf7_admin('')
#17 D:\laragon\www\cf7test\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#18 D:\laragon\www\cf7test\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#19 D:\laragon\www\cf7test\wp-admin\admin.php(175): do_action('admin_init')
#20 D:\laragon\www\cf7test\wp-admin\index.php(10): require_once('D:\\laragon\\www\\...')
#21 {main} thrown in D:\laragon\www\cf7test\wp-content\plugins\chronoforms\chronog3\libs\lang.php on line 25
Gatsman 02 Feb, 2023
Is there anything i can do for this.
I can't create any kind of form or edit any that i restore. Frontend seems to work but not the backend of chronoforms.
You need to login to be able to post a reply.