By: Floris Leurink user 29 Jun 2017 at 5:42 a.m. CDT

5 Responses
Floris Leurink gravatar
Hi, On [this page](https://gluu.org/docs/oxd/plugin/wordpress/) there are two download links for the OXD Wordpress plugin: 1. Github source - version 2.4.4 2. Wordpress marketplace - version 3.0.1 I already have a working OpenID connect SSO on a Wordpress site with version 2.4.4. The updates page on this site shows that I should upgrade the plugin to 3.0.1. And I have to install and configure an OpenID SSO with your plugin on a new Wordpress site for a new client. However, when I download and activate the OXD Wordpress plugin version 3.0.1. on the new Wordpress site I get the following error message: Parse error: syntax error, unexpected '[' in /var/www/ahk/wp-content/plugins/openid-connect-sso-by-gluu/gluu_openid_oxd_settings.php on line 109 Because of this error, the plugin cannot be activated and used. My questions: 1. Can you replicate the php parse error with version 3.0.1 and can you fix this error? 2. Should I wait with the update of the working connection because this will potentially break the connection? 3. Can I use the old version of your plugin in the production environment of the new client and upgrade later once issues mentioned have been resolved? 4. Do you need access to a Wordpress site of ours to speed up the process of testing and fixing? Thanks in advance! Floris Leurink

By Mohib Zico staff 29 Jun 2017 at 5:58 a.m. CDT

Mohib Zico gravatar
>> Parse error: syntax error, unexpected '[' in /var/www/ahk/wp-content/plugins/openid-connect-sso-by-gluu/gluu_openid_oxd_settings.php on line 109 If you remove that '[' from php file, is that resolved? >> 1. Can you replicate the php parse error with version 3.0.1 and can you fix this error? We will try to reproduce the issue and fix if required. >> 2. Should I wait with the update of the working connection because this will potentially break the connection? Up to you, as you have already one working condition with 2.4.4. >> 3. Can I use the old version of your plugin in the production environment of the new client and upgrade later once issues mentioned have been resolved? Wont' be a bad move, please feel free to check. But Jajait might confirm. >> 4. Do you need access to a Wordpress site of ours to speed up the process of testing and fixing? We are unable to provide that level without [VIP subscription](https://www.gluu.org/gluu-server/pricing/).

By Floris Leurink user 29 Jun 2017 at 6:01 a.m. CDT

Floris Leurink gravatar
PS. I did some more testing and I think the problem is caused by the php version. The site with the error runs on ubuntu 12.x.x. with an older php version than the php verion of the site that works correctly. I will upgrade Linux and php on the server and will let you know if this fixes the issue.

By Jajati Badu Account Admin 29 Jun 2017 at 6:06 a.m. CDT

Jajati Badu gravatar
> Can I use the old version of your plugin in the production environment of the new client and upgrade later once issues mentioned have been resolved? Could you please let us know the oxd server version and Wordpress version you have in your production environment ?

By Floris Leurink user 29 Jun 2017 at 6:14 a.m. CDT

Floris Leurink gravatar
OXD server version: We don't use OXD server as we connect to an existing OpenID Connect Provider. Wordpress version: 4.8 My guess: the error disappears when I upgrade php on the server with the site affected by the issue. I will let you know it that is the case. Thank for the quick response!

By William Lowe user 29 Jun 2017 at 7:16 a.m. CDT

William Lowe gravatar
You must use oxd to use our plugin.