Skip Navigation

[Resolved] CRED stopped showing Google map.

This thread is resolved. Here is a description of the problem and solution.

Problem:
Address field is not working in CRED form and displaying error messages:

“ There is a problem with Array field. Please check CRED form. ”

Notice: Undefined variable: command_field in /home/c///public_html/wp-content/plugins/cred-frontend-editor/application/controllers/field_translation/command/CRED_Translate_Command_Factory.php on line 30

Notice: Array to string conversion in /home/c///public_html/wp-content/plugins/cred-frontend-editor/application/models/field/field.php on line 375

Solution:
This issue is fixed and patch / errata is available here that you can use:
https://toolset.com/errata/toolset-maps-address-field-does-not-work-in-cred-forms/

It will also be included in upcoming version of CRED.

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 4 replies, has 3 voices.

Last updated by Markus Polivka 7 years, 3 months ago.

Assisted by: Noman.

Author
Posts
#555582

Yesterday (01.08.2017) I updated all the Toolset plugins. CRED forms stopped running Google maps.
Prior to yesterday's update, the map was working fine.
I have created a Post Field "Location" with a map and this field inserted into CRED forms. Now on the front-end instead of the map shows me the message "There is a problem with Array field. Please check CRED form.".

Please help. What could be the cause of this error and how to fix it.
I will add that the same field in the views and template views shows the maps.

#555610

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Bochnacki,

Thank you for contacting Toolset support. There is a known bug with CRED Address field, we have patch fix for it which I am testing at moment, I will send you that shortly in few minutes.

Thank you

#555616

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

We have a patch fix for this issue. To apply this patch, simply use the below file and replace the one with the same name in CRED plugin folder, located in /application/controllers/field_translation/command/

File to replace:
hidden link

Please let us know if it works. Thank you

#555634

It works. It's good 🙂
Thank you.

#555653

many thanx for the fix! I had the same problem!