• I am trying to upgrade my WordPress site from PHP 7.4 to 8.2 but experiencing several issues one of which is a newly installed 1.24.4 release of updraftplus.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Stephen Davies

    (@scldad)

    Also getting errors with css-javascript-toolbox, events-manager and wpforms-lite.

    I’ve run the php-compat tool but it gives no details as to what is actually causing issues.

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Stephen,

    Could you describe the issues? UpdraftPlus is compatible with all PHP 8.x versions up to latest.

    Best regards,

    Nick

    • This reply was modified 7 months, 3 weeks ago by nrobertsudp.
    Thread Starter Stephen Davies

    (@scldad)

    I don’t have logs as such at this stage.

    I attempted to use the Dreamhosts automatic PHP upgrade tool but it failed so I ran their PHP compatibility tool.

    It showed “failure” status for several plugins including updraft.

    They do have an option to force the 8.2 upgrade but last time I tried it, the site became inaccessible so I am a bit scared of trying again.

    This whole exercise is part of a site migration from one host (with PHP 7.4) to Dreamhost with 8.x.

    Given your assurance that 8.2 is OK for updraft, I shall think again.

    Thank you.

    Thread Starter Stephen Davies

    (@scldad)

    I have turned on PHP loging as you suggest but that log is still empty.

    However, in the http error.log I have a raft of entries of the form:

    [Fri Aug 02 18:24:14.262224 2024] [:error] [pid 2946497:tid 140583045678656] [client 203.2.199.101:42124] [client 203.2.199.101] ModSecurity: Warning. Matched phrase “/options-general.php” at REQUEST_HEADERS:Referer. [file “/etc/modsecurity/mod_sec3_CRS/REQUEST-00-LOCAL-WHITELIST.conf”] [line “27”] [id “1011”] [hostname “holdfastmac.asn.au.dream.website”] [uri “/wp-content/plugins/updraftplus/images/other-plugins/easy-updates-manager-logo.png”] [unique_id “Zq2GvjlnGsXCGlqhysNdFAAAJzs”], referer: https://holdfastmac.asn.au.dream.website/wp-admin/options-general.php?page=updraftplus
    [Fri Aug 02 18:24:14.266072 2024] [:error] [pid 2946497:tid 140582492022336] [client 203.2.199.101:42080] [client 203.2.199.101] ModSecurity: Warning. Matched phrase “/options-general.php” at REQUEST_HEADERS:Referer. [file “/etc/modsecurity/mod_sec3_CRS/REQUEST-00-LOCAL-WHITELIST.conf”] [line “27”] [id “1011”] [hostname “holdfastmac.asn.au.dream.website”] [uri “/wp-content/plugins/updraftplus/images/updraftvault-150.png”] [unique_id “Zq2GvjlnGsXCGlqhysNdFQAAJ0Q”], referer: https://holdfastmac.asn.au.dream.website/wp-admin/options-general.php?page=updraftplus
    [Fri Aug 02 18:24:14.293147 2024] [:error] [pid 2946497:tid 140574472529472] [client 203.2.199.101:42102] [client 203.2.199.101] ModSecurity: Warning. Matched phrase “/options-general.php” at REQUEST_HEADERS:Referer. [file “/etc/modsecurity/mod_sec3_CRS/REQUEST-00-LOCAL-WHITELIST.conf”] [line “27”] [id “1011”] [hostname “holdfastmac.asn.au.dream.website”] [uri “/wp-content/plugins/updraftplus/images/dropbox-logo.png”] [unique_id “Zq2GvjlnGsXCGlqhysNdFgAAJ6k”], referer: https://holdfastmac.asn.au.dream.website/wp-admin/options-general.php?page=updraftplus

    Thread Starter Stephen Davies

    (@scldad)

    I bit the bullet and forced the update to PHP 8.2 and all seems to be working:-)

    No idea why the php-compat tests failed.

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Stephen,

    I’m glad things went well. The warnings in the log relate to ModSecurity settings which your hosting can adjust. There’s nothing bad going on, it’s just been configured to monitor for specified phrases.

    Best regards,

    Nick

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘updraftplus failing with PHP 8.2’ is closed to new replies.