• Resolved hastibe

    (@hastibe)


    I’m getting the following entries in my debug.log when running PHP 8.2. Is this plugin not compatible with PHP 8.2? If not compatible with PHP 8.2, is it compatible with PHP 8.1 or 8.0?

    PHP Deprecated:? Creation of dynamic property Automattic\WooCommerce\Database\Migrations\CustomOrderTable\PostToOrderTableMigrator::$table_names is deprecated in /wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php on line 25

    PHP Deprecated:? Creation of dynamic property Automattic\WooCommerce\Database\Migrations\CustomOrderTable\PostToOrderAddressTableMigrator::$table_names is deprecated in /wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php on line 42

    PHP Deprecated:? Creation of dynamic property Automattic\WooCommerce\Database\Migrations\CustomOrderTable\PostToOrderOpTableMigrator::$table_names is deprecated in /wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php on line 26

    PHP Deprecated:? Creation of dynamic property Automattic\WooCommerce\Database\Migrations\CustomOrderTable\PostMetaToOrderMetaMigrator::$table_names is deprecated in /wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostMetaToOrderMetaMigrator.php on line 43

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hastibe

    (@hastibe)

    And some additional debug.log entries:

    PHP Deprecated: Creation of dynamic property WC_Countries::$countries is deprecated in /wp-content/plugins/woocommerce/includes/class-wc-countries.php on line 51

    PHP Deprecated: Creation of dynamic property WC_Cart::$coupon_discount_totals is deprecated in /wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php on line 266

    PHP Deprecated: Creation of dynamic property WC_Cart::$coupon_discount_tax_totals is deprecated in /wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php on line 266

    Hi there @hastibe

    Thank you for reaching out! I understand you are receiving the above error messages.

    Can you provide clear steps that make this error appear on your site? That way, I can try to reproduce the same behavior.

    As a guide, we recommend PHP version 7.4 and up to version 8.0 (for PHP 8.1, please note that there is an issue documented on?GitHub).

    For further details, feel free to review the WooCommerce Server Recommendations (directly linked here).

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help!

    Thread Starter hastibe

    (@hastibe)

    Hi @anastas10s — the steps to make the errors appear on the debug.log were simply changing the PHP from 7.4 to 8.2 via the host admin panel and perhaps refreshing the homepage with the plugin activated.

    Hi,

    Thanks for providing the steps to reproduce the issue.

    For us to get more information, could you please share a copy of your site’s System Status Report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Thanks.

    Thread Starter hastibe

    (@hastibe)

    @ihereira — out of an abundance of caution, that’s a bit more than I’m comfortable providing here. I’d ask for another way to submit this report to you, but the guidelines specify to not “ask others to post their email, or solicit contacting people off the forums.”

    Out of all the data in the system status report, is there a specific bit that would be especially helpful, in this case? I would be comfortable providing certain pieces of the report here.

    Hi,

    No problem at all, I understand ??

    To clarify, the WooCommerce System Status Report is a tool that provides a broad overview of your store’s setup – including details about your server, database, active plugins, and WooCommerce settings. The report doesn’t contain highly sensitive information such as payment data, customer identifiable information, passwords, or other confidential information.

    Although it includes the settings and configurations for different plugins and tools, it doesn’t reveal information that may compromise the security of the store or the privacy of your store’s customers. Therefore, it can be shared safely with others, especially when consulting for technical support.

    One alternative is to share it via pastebin, it means you can share the report link uploaded on pastebin, and keep the content active for a few days while we check into the issue, and then you can remove it.

    Hope this helps.

    Adding my 0.02 cents worth.

    I have:

    WooCommerce 8.0.3
    PHP 8.2.9
    WordPress 6.3.1

    Installed WooCommerce and activated it and got a truck ton of messages in my debug log. Here’s what happened and how to recreate it.

    https://app.screencast.com/YgWGXsHa0vCA5

    It appears that WooCommerce 8 isn’t compatible with PHP 8.2.9. Is there a road map for when this will be resolved? I have a customer looking to open her store this week, and I am running into all kinds of issues getting Woo up and running.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is your plugin compatible with PHP 8.2?’ is closed to new replies.