Skip Navigation

[Résolu] CRED update 1.9.4 gives error on line 102

This support ticket is created Il y a 6 années et 10 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 6 années et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#611621
Capture.PNG

After updating CRED to 1.9.4 my site was totally down with error message:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../wp-content/plugins/cred-frontend-editor/application/controllers/main.php on line 102

I have read this thread but could not resolve the issue: https://toolset.com/forums/topic/cant-activate-cred-because-of-an-error-on-line-102/

I have switched to TwentySixteen theme and same error.

I am on the latest version of WP 4.9.2. I had to restore the entire database from the backend as navigation is not possible when the site was broken.

Any help? See screenshot for code snip.

#611698

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I see you are using old PHP version. Could you please update your PHP version to 7.

As you can see with the following link - Even WordPress also recommends to use latest PHP version:
=> https://wordpress.org/about/requirements/

#612058

Is there a way to change the version of my test site (only) to php7? I can change it at the hosting level but that will impact all the sites on this domain and it's too much a risk before i really test it out.

Thanks.

#612063

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Well - better you contact your hosting authority for such help.