Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] PHP Parse error: syntax error, unexpected '|',

5 Posts
2 Users
4 Reactions
765 Views
Posts: 3
Topic starter
(@johnmodel)
Active Member
Joined: 2 years ago

Hi there, wonderful plugin first of all.

I have a client website, https://certbetter.com.au/ , where I installed the plugin which was working fine for a couple of days. Today it started showing this:

Error 'PHP message: PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /plugins/wpforo/classes/Posts.php on line 2110'

I am not sure what's causing the issue but I have deactivated the plugin.

Have anyone else gone through the similar issues?

4 Replies
Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @johnmodel,

You're using old version of PHP, we've just add some changes to avoid such issues with old PHP version. You can try to update again.

Posts: 3
Topic starter
(@johnmodel)
Active Member
Joined: 2 years ago

Thanks Robert for quick response. Upon checking I also discovered the following vulnerability:

https://prnt.sc/yalaRZMhOI7-

2 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10616

@johnmodel,

This was fixed in 2.2.4. Please see the changelog:

https://wordpress.org/plugins/wpforo/#developers

(@johnmodel)
Joined: 2 years ago

Active Member
Posts: 3

@robert That's great! Thanks Robert. By the way, I have updated php version and a few other things. Everything seems working now.