• Resolved luciandinu

    (@luciandinu)


    Hi! I’ve updated to the latest version and crashed the website.

    There is an error thrown on src/class-integrations.php on line 45

    Site details: PHP 8.0, Theme: GeneratePress

Viewing 7 replies - 1 through 7 (of 7 total)
  • Georg

    (@georgwordpress)

    MeToo!

    Line 45 …./src/class-integrations.php

    Uncaught Error: Failed opening required
    ‘…./src/integrations/class-cookieyes-integration.php’

    It looks like the new version tries to include the file with the wrong case. it has require_once $path . 'class-seopress-integration.php'; with a lowercase ‘i’ whereas the file included with the plugin is class-seopress-Integration.php' with an uppercase ‘I’. I renamed the file to use qa lowercase ‘i’ to match the others and it works again.

    Simply Static version 2.2.5 crashed the website in wordpress 6.1.1

    Yes, this crashed a bunch of sites i operate.

    Quick fix, move the entire plugin directory somewhere outside of wordpress, essentially uninstalling it. the site comes right back.

    2023/01/29 21:37:37 [error] 2533263#2533263: *352858 FastCGI sent in stderr: “PHP message: PHP Warning: require_once(/opt/REDACTED.com/wordpress/wp-content/plugins/simply-static/src/integrations/class-cookieyes-integration.php): failed to open stream: No such file or directory in /opt/REDACTED.com/wordpress/wp-content/plugins/simply-static/src/class-integrations.php on line 45

    PHP message: PHP Fatal error: require_once(): Failed opening required ‘/opt/REDACTED.com/wordpress/wp-content/plugins/simply-static/src/integrations/class-cookieyes-integration.php’ (include_path=’.:/usr/share/php’) in /opt/REDACTED.com/wordpress/wp-content/plugins/simply-static/src/class-integrations.php on line 45″ while reading response header from upstream, client: REDACTED, server: REDACTED.com, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/REDACTED.sock:”, host: “REDACTED.com”, referrer: “https://REDACTED.com”

    It is, as it says, on line 45. Inclusion of “class-cookieyes-integration.php”.
    Release notes state that is part of the new update..

    Side note, a little astonished at the lack of error handling in the code.

    user@REDACTED-wordpress:~/simply-static# grep -R try . | grep -v vendor | wc -l
    15

    Anyway, this plugin is very good, and I really like using it – so let us know when it’s patched so I can reinstall it.

    • This reply was modified 2 years, 1 month ago by someguynamedlou. Reason: change code block to quote due to line wrapping / readability

    Me too, I have the same problem. I have deactivated the plugin till new advances…

    I’ve just reply to this on Github, and then I’m sending a direct post on the dev twitter for him to stop the upgrade.

    https://github.com/patrickposner/simply-static/issues/104

    Plugin Author patrickposner

    (@patrickposner)

    Fixed now!

    @jonathandhn Thanks for reaching out via Twitter/GitHub!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Updated to version 2.2.5 and crashed the website’ is closed to new replies.