Skip Navigation

[Resolved] CRED update 1.9.4 gives error on line 102

This support ticket is created 6 years, 10 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.

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)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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