Skip Navigation

[Resuelto] Parse error: syntax error, unexpected T_FUNCTION

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: I am seeing an error when Toolset is active - "Parse error: syntax error, unexpected T_FUNCTION"

Solution: Update server to a newer version of PHP

This support ticket is created hace 6 años, 6 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Etiquetado: 

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por Antonio Aragón hace 6 años, 6 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#804816

Good afternoon, the problem I have is that the web in the working directory in which I have been developing it works perfectly but when entering from the
final url gives me the following error:

Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /homepages/19/d431537475/htdocs/nuevo/wp-content/plugins/toolset-maps/includes/toolset-common-functions.php on line 1067

What could be the problem?

Thanks a lot for your support.

#806012

Hi, can you try the following troubleshooting steps?
- If you have not been able to turn off the Maps plugin, log in to the server with FTP or SSH and change the name of the Maps plugin folder at /wp-content/plugins/toolset-maps to toolset-maps-backup
- Try the site again. If you are able to see the site now without the parse error, please check to be sure Types and Views have been installed and are up-to-date. Then revert the the toolset-maps folder.
- Temporarily switch to a default theme like Twenty Seventeen, then try to reactivate Maps.
- If you continue to experience the parse error, please rename the folder again so you can get into wp-admin. Then delete the Maps plugin, download a fresh copy from https://toolset.com/account/downloads, and install it again.

Let me know the results.

#806688

i did all the steps that you say and the problem persist.

in this url: enlace oculto the web is on, all the fuctions are perfect but when you acces with the final URL the error persist...

#806819

Okay I would like to take a closer look. Please provide login credentials here so I can access FTP and wp-admin.

#846078

I got to find the problem. I was the version of php that had install in the server, it was 5.5 and when i update to the 7.0 version all was correctly.

Thank you for the support.