Solution to PHP Fatal Error with 1.0.2
-
I have update to 1.0.2 and my site has crashed.
I fix this changing two lines in includes/class-wc-legacy-rest-api-plugin.php
Line 102.
From:
private function hpos_is_enabled(): bool {
To:
private static function hpos_is_enabled(): bool {Line 111.
From:
self::remove_notice( ‘legacy_rest_api_is_incompatible_with_hpos’ );
To:
WC_Admin_Notices::remove_notice( ‘legacy_rest_api_is_incompatible_with_hpos’ );These changes have fixed the error on my site
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Solution to PHP Fatal Error with 1.0.2’ is closed to new replies.