• Resolved Gawaine

    (@gawaine)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Rockwell

    (@rockwell15)

    Ok, I’m going to download WP 4.3.2 and see if I can replicate the problem.

    Plugin Author Andrew Rockwell

    (@rockwell15)

    Is there any way I can take a look at the site? You can contact me here:
    [email protected]

    Thread Starter Gawaine

    (@gawaine)

    Thanks for getting back to me. I sent you an email.

    Thread Starter Gawaine

    (@gawaine)

    I figured out the problem. Though my hosting provider’s PHP was actually 5.6, the version that was being used by WordPress was 5.2. This caused the errors that were happening.

    To fix it, I had to check my htaccess file to make sure that the folder where the site was stored had a matching code for php version as the folders where the php version said 5.6.

    This link guided me to the solution

    Plugin Author Andrew Rockwell

    (@rockwell15)

    Thanks for the info. I’ll include a warning for PHP versions that are too low in the next update!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem – Parse error: syntax error, unexpected T_FUNCTION, and not authorizing’ is closed to new replies.