• Hi Leon,

    Looks like a great plugin, thanks! I’m getting the following activation error:

    Parse error: syntax error, unexpected '[', expecting ')' in /var/www/wpappdev.com/public_html/assets/plugins/static-html-output-plugin/library/dropboxsdk/guzzlehttp/promises/src/functions.php on line 45

    FYI – This might be related to my non-standard WordPress install? Some of my sites use a sub-directory admin so wp-admin is located at /site/wp-admin/ and my wp-content directory is changed via a WordPress define to /assets/. Every once in a while it can create a plugin conflict, though not often.

    Let me know what you think.

    Thanks,
    Justin

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Hi Justin,

    Thanks for trying out the plugin, sorry you’re having some issues.

    I have a feeling this may be a dependency on PHP 7 causing this to blow up.

    Could you confirm if your hosting is using PHP 5.x ?

    I will try to resolve this, by at least disabling the Dropbox plugin functionality for users on PHP 5, in order to continue using the other features of the plugin.

    A resolution to support PHP with the updated Dropbox export functionality seems a bit more involved (I need a larger test bed of different environments, which I haven’t had time to setup lately).

    If it’s mission-critical for you to get this working with PHP 5, please email me and I may be able to prioritize a fix.

    Cheers,

    Leon

    Thread Starter wpAppDev

    (@wpappdev)

    Hi Leon,

    Yes, I can confirm that server is running PHP 5.x. I think that is a great idea for retaining support for the 5.x platforms, though those still on it should upgrade to PHP 7 (myself included!).

    No worries on the priority fix, but thank you for the offer! I’ll look for the next version and look forward to giving it a try.

    Best Regards,
    Justin

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Justin,

    Was just doing some testing of this, seeing if I could fashion a fix. 

    Could you please let me know what PHP version exactly you are running? On PHP 5.5 and 5.6, I wasn’t able to reproduce the issue, perhaps it is 5.3 or lower having the issue… If you could please confirm, I’ll work on a solution.

    Cheers,

    Leon

    Thread Starter wpAppDev

    (@wpappdev)

    Hi Leon,

    Yep, this server is in fact using 5.3.10 – ouch! I’m not sure how many installs out there are still on 5.3 or lower, but perhaps it’s not worthwhile? I’m going to be upgrading this one soon, thanks for checking on it though.

    Justin

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi Justin,

    WordPress’s latest official system requirements say 5.2.4, so possibly not that bad.

    I could really use access to a 5.3 or lower system to work on a solution to this (I don’t have one quickly available right now).

    If you’d be keen to help, please let me know and we can discuss a safe way to access/debug there. I have a feeling we can quickly get the plugin working, by just disabling the Dropbox export option when detecting PHP 5.3 or lower.

    Cheers,

    Leon

    Hi there,

    I’ve been encountered the same issue, and my environment is php 5.3.10 too.

    So, is there a quick way to just disable the dropbox function to continue use this lovely plugin?

    Thanks

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi all,

    Thanks for your patience on this issue. I expect a fix to be pushed out in a few days, after making some progress on my testing environment. Please read the update here:

    https://www.kickstarter.com/projects/leonstafford/the-wp-plugin-that-speeds-up-and-secures-your-site/posts/2193533

    Cheers,

    Leon

    Plugin Author Leon Stafford

    (@leonstafford)

    Hi all,

    This is still an issue and PHP 5 support will take a bit longer for me to get sorted.

    Thanks for your patience.

    Cheers,

    Leon

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal Error on activation’ is closed to new replies.