• Resolved tatof

    (@tatof)


    Hello,

    This plugin is the only thing holding me back to upgrade my clients to php 8.0.
    I’m getting a critical error when plugin is active on php 8.0. When i switch back to php 7.4 all is fine.

    [Fri Aug 05 16:00:15.376319 2022] [lsapi:error] [pid 7052:tid 140218915567360] [client 77.170.89.195:65213] [host clientsite.nl] Backend fatal error: PHP Fatal error:  Uncaught ValueError: Unknown format specifier "w" in /home/clientsite/domains/clientsite.nl/public_html/wp-content/plugins/post-smtp/freemius/templates/connect.php:221\nStack trace:\n#0 /home/clientsite/domains/clientsite.nl/public_html/wp-content/plugins/post-smtp/freemius/templates/connect.php(221): sprintf()\n#1 /home/clientsite/domains/clientsite.nl/public_html/wp-content/plugins/post-smtp/freemius/includes/fs-core-functions.php(57): require('/home/clientsite/do...')\n#2 /home/clientsite/domains/clientsite.nl/public_html/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(22509): fs_get_template()\n#3 /home/clientsite/domains/clientsite.nl/public_html/wp-includes/class-wp-hook.php(307): Freemius->_connect_page_render()\n#4 /home/clientsite/domains/clientsite.nl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#5 /home/clientsite/domains/clientsite.nl/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()\n#6 /home/clientsite/domains/clientsite.nl/public_html/wp-admin/admin.php(259): do_action()\n#7 {main}\n  thrown in /home/clientsite/domains/clientsite.nl/public_html/wp-content/plugins/post-smtp/freemius/templates/connect.php on line 221\n, referer: https://clientsite.nl/wp-admin/?w3tc_note=flush_all
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tatof

    (@tatof)

    Sorry, reuploaded plugin. all is fine

    Plugin Support M Haseeb

    (@haseeb0001)

    @tatof Hi,

    That was a freemius issue but it’s fixed in our Beta version.

    Thanks for the update.

    Thanks

    There are still PHP 8 compatibility issues in the plugin. Be aware that the latest tagged release of the PHPCompaibility PHP Code Sniffer library does not check for PHP 8.0+ compatibility issues. You must install the latest develop branch of the library in order to start getting some of the PHP 8 compatibility warnings/errors to be reported. You can track the progress here:

    On a scan just performed there are issues here:

    
    FILE: wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     170 | ERROR | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $isbn10{$i}
         |       |     (PHPCompatibility.Syntax.RemovedCurlyBraceArrayAccess.Removed)
     188 | ERROR | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $isbn13{$i}
         |       |     (PHPCompatibility.Syntax.RemovedCurlyBraceArrayAccess.Removed)
     190 | ERROR | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $isbn13{$i}
         |       |     (PHPCompatibility.Syntax.RemovedCurlyBraceArrayAccess.Removed)
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    

    Yes please!!! I am having many errors in PHP 8 also! PLEASE fix soon!

    Plugin Support M Haseeb

    (@haseeb0001)

    @netzmaedchen @tnolte

    We are working on it and will fix this in our upcoming release in the next 3 – 4 working days.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘When will the plugin work on PHP 8.0?’ is closed to new replies.