• Resolved diyafury

    (@diyafury)


    Our hosting service is retiring php7.4 in January so a resolution is quite urgent.

    After upgrading to php8, the wpforo plugin causes the woocomerce PDF voucher plugin to break. I have disabled wpforo and it works fine. When I revert back to php7.4 both plugins work as expected. This is the error:

    2022-11-21T21:04:21+00:00 CRITICAL Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in .../wp-content/plugins/wpforo/includes/functions.php:2911
    Stack trace:
    #0 .../wp-content/plugins/wpforo/includes/functions.php(2911): property_exists(NULL, 'components')
    #1 .../wp-content/plugins/wpforo/includes/functions-template.php(106): wpforo_setting('components', 'page_title')
    #2 .../wp-includes/class-wp-hook.php(308): wpforo_hide_title('An awesome title', 134120)
    #3 .../wp-includes/plugin.php(205): WP_Hook->apply_filters('An awesome title', Array)
    #4 .../wp-includes/post-template.php(173): apply_filters('the_title', 'An awesome title', 134120)
    #5 .../wp-content/plugins/woocommerce-pdf-product-vouchers/includes/customizer/class-wc-pdf-product-vouchers-customizer.php(638): get_the_title(Object(WP_Post))

    …..

    `
    ### WordPress Environment ###

    WordPress address (URL): —
    Site address (URL): —
    WC Version: 7.1.0
    REST API Version: ? 7.1.0
    WC Blocks Version: ? 8.7.5
    Action Scheduler Version: ? 3.5.2
    Log Directory Writable: ?
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: nginx/1.21.3
    PHP Version: 7.4.33
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 7.1.0

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (48) ###

    WooCommerce PDF Product Vouchers: by SkyVerge – 3.8.0
    wpForo: by gVectors Team – 2.1.1

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Php8 upgrade causes a conflict with the Woocommerce PDF voucher plugin’ is closed to new replies.