ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
922 stars 218 forks source link

Undefinied variables in unyson/framework/extensions/sign-form/views/form.php #3806

Open greggh opened 5 years ago

greggh commented 5 years ago

Using Query Monitor on my site to clear up some errors on my site, I found these PHP notices for Unyson.

Undefined variable: vcard_title wp-content/plugins/unyson/framework/extensions/sign-form/views/form.php:13

Undefined variable: vcard_subtitle wp-content/plugins/unyson/framework/extensions/sign-form/views/form.php:14

Undefined variable: vcard_profile_btn wp-content/plugins/unyson/framework/extensions/sign-form/views/form.php:15

These 3 aren't the biggest problem I am facing on my site, but they do get in the way and clutter up my debugging attempts. Any chance they could get fixed?

Editing lines 13-15 to this fixes the problem:

        'vcard_title'       => isset($vcard_title) ? $vcard_title : '',
        'vcard_subtitle'    => isset($vcard_subtitle) ? $vcard_subtitle : '',
        'vcard_profile_btn' => isset($vcard_profile_btn) ? $vcard_profile_btn : '',
danyj commented 5 years ago

Looks like 3rd party extension, contact your theme provider

greggh commented 5 years ago

@danyj thank you, reaching out to them now.