Support » Plugin: CloudFront Page Cache CDN » cannot activate. fatal error

  • Resolved cloudduster

    (@cloudduster)


    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /home/xxx/public_html/addonsites/example.com/wp-content/plugins/cf-page-cache/controllers/admin/view.class.php on line 137

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimalisatie.nl

    (@optimalisatie)

    Hi cloudduster,

    Thank you for reporting the issue!

    Could you please let us know your PHP version?

    ver 5.5

    Plugin Author Optimalisatie.nl

    (@optimalisatie)

    It is a strange error. A search in Google provides mostly developers complaining about the name of the error.

    T_PAAMAYIM_NEKUDOTAYIM

    We will investigate the issue and provide an update.

    Plugin Contributor o10n

    (@o10n)

    The bug should be resolved in the last update.

    The previous version called a class reference from an array. This has probably been the cause of the error.

    $array['controller']::static_method

    after activating, my entire site went error 500.

    i had to delete the plugin via ftp

    Plugin Contributor o10n

    (@o10n)

    Hi cloudduster,

    Thanks a lot for your time to test the plugin again!

    We are very sorry for the issue. The issue was caused by a PHP version related bug in a core that is currently in beta.

    We have added PHP Unit Tests and a Travis CI build test and the issues are now solved voor PHP v5.4+.

    https://github.com/o10n-x/wordpress-cloudfront-page-cache

    Our company is focused on cutting edge innovation first. We were planning to add dedicated test engineers to the team to convert the innovation into reliable plugins but we didn’t find an engineer yet (there is a vacancy on UpWork). Our test server has just recently been installed so we are behind on that aspect. The plugin was already working well in newer PHP versions. With the new build test, the plugin will be more reliable. Next updates will be distributions from Travis CI after passing more comprehensive tests.

    If you are still interested to test the plugin we are very interested in your feedback / feature requests!

    Plugin Contributor o10n

    (@o10n)

    We are currently developing a more comprehensive test system that will include testing the admin panel (e.g. saving settings) on multiple PHP and WordPress versions, many themes, plugin combinations and on many devices such as Android and iPhone. This will make sure that the plugin performs well in any situation.

    The Travis CI build is currently failing and that will remain for some time but it doesn’t mean that the plugin isn’t working currently.

    Plugin Contributor o10n

    (@o10n)

    More tests have been added and bugs were fixed. The plugin is now more extensively tested using Ruby rspec and Capybara.

    We will soon add cross browser tests to perform the tests on many different devices. This will ensure the reliability of the plugin.

    https://travis-ci.org/o10n-x/wordpress-cloudfront-page-cache

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.