Problem – Parse error: syntax error, unexpected T_FUNCTION, and not authorizing
-
Hi,
I am running wordpress 4.3.2 and my php version is 5.4.
I have tried installing your plugin but whenever I do I get the unexpected T_FUNCTION error on line 91. I found out that this had to do anonymous function within the function add_settings_section(). Another of these errors pops up for the anon function in array_walk() at around the late 180’s line.With these errors the plugin wouldn’t activate. With some help from wordpress forums and google,I finally did get the plugin to activate by tweaking the anon functions I mentioned above to create_function().
Once the plugin was activated, I input all the necessary information on my end and I added the redirect url etc. but I would still get the error that the client ID is missing. When I looked at the URL, the client ID wasn’t in it. When I inserted the client ID it would take me to the authentication page to authorize the app. When the credentials were put in it would just redirect me to the plugin page where I input all the info but all the settings would be empty and nothing would be authorized.
Any guidance would help. Thanks!
https://www.ads-software.com/plugins/company-updates-for-linkedin/
- The topic ‘Problem – Parse error: syntax error, unexpected T_FUNCTION, and not authorizing’ is closed to new replies.