Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Wordpress connection issues #45

Open
nupejosh opened this issue May 5, 2017 · 1 comment
Open

Wordpress connection issues #45

nupejosh opened this issue May 5, 2017 · 1 comment

Comments

@nupejosh
Copy link

nupejosh commented May 5, 2017

Hey guys, I'm setting up the self hosted rooftopcms for wordpress. I've tried to install the rooftop-api-authentication plugin on my hostgator hosted wordpress install, but I keep getting an error when I attempt to activate the plugin. error - Parse error: syntax error, unexpected T_FUNCTION in /home2/jnashpor/public_html/railstest/wp-content/plugins/rooftop-api-authentication-development/admin/class-rooftop-api-authentication-admin.php on line 109. I was initially using wordpress version 4.7.4, but then downgraded to 4.3 to follow the tested version of the plugin as seen in the plugin repo. Is rooftop-api-authentication the correct plugin that I should be using to connect rooftopcms to my wordpress app or is there some other way I should be making the connection?

@edtjones
Copy link
Member

Hi @nupejosh sorry for the terribly slow reply to this. Could this be related to a PHP version issue? Line 109 (here https://github.com/rooftopcms/rooftop-api-authentication/blob/development/admin/class-rooftop-api-authentication-admin.php#L109) calls add_submenu_page with an anonymous function which is only available in PHP 5.3 and later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants