Skip to content

Fixes #3003 Prevent fatal error following WooCommerce 4.4 update#3004

Merged
remyperona merged 11 commits intomasterfrom
hotfix/composer-compatibility
Aug 18, 2020
Merged

Fixes #3003 Prevent fatal error following WooCommerce 4.4 update#3004
remyperona merged 11 commits intomasterfrom
hotfix/composer-compatibility

Conversation

@remyperona
Copy link
Copy Markdown
Contributor

Namespace the container inside our own namespace to prevent conflict when WooCommerce 4.4 uses league/container version 3

Also prevent the PHP notice related to the REST API with WP 5.5

@remyperona remyperona added priority: 🔥critical The plugin or the website are unusable, it affects a significant number of customers 3rd party compatibility Issues related to 3rd party compatibility like theme, plugin or hosting labels Aug 18, 2020
engahmeds3ed and others added 2 commits August 18, 2020 13:06


adjust integration tests to check on the version of WP to assert existence of jquery-migrate or not (PR #2991)
@iCaspar iCaspar linked an issue Aug 18, 2020 that may be closed by this pull request
@hellofromtonya
Copy link
Copy Markdown
Contributor

@Davidacu Ready for QA. Please ping us in Slack when done.

Copy link
Copy Markdown

@Davidacu Davidacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I can confirm that the fatal error notice is no longer displayed after updating wp rocket with this new version.
  • Woocomerce 4.4.0 is functional.
  • No issues or notices found in the logs.
  • WP Rocket Smoke/regression tests Passed:
    Minify HTML/CSS/JS
    Combine CSS/JS
    Optimize CSS delivery
    Lazy loading
    google tracking addon
    CDN replacement
    Load JS deferred
    Optimize Google fonts.
    Varnish Addon detection in O2switch
    Varnish Addon detection in Savvii
    Comments/Posts/Transients clean up.

@remyperona remyperona merged commit 7ce3759 into master Aug 18, 2020
@remyperona remyperona deleted the hotfix/composer-compatibility branch August 18, 2020 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3rd party compatibility Issues related to 3rd party compatibility like theme, plugin or hosting priority: 🔥critical The plugin or the website are unusable, it affects a significant number of customers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WIP] Possible conflict with Woocommerce 4.4.0

5 participants