Okay
  Public Ticket #3142860
Unable to log in after PHP upgrade
Closed

Comments

  •  7
    Mike Marshfield started the conversation

    Hi. I have had to update my version of PHP on the server to avoid additional support fees for older versions of PHP. Since upgrading to PHP 8.0, i get the following error and cannot now log in to wordpress (or see the site correctly) Can you help? Thanks, Mike


    Warning: The magic method WC_Stripe::__wakeup() must have public visibility in /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php on line 90

    Warning: The magic method AutomatticWooCommerceRestApiUtilitiesSingletonTrait::__wakeup() must have public visibility in /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Utilities/SingletonTrait.php on line 48

    Warning: The magic method AutomatticWooCommerceAdminFeaturePlugin::__wakeup() must have public visibility in /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/FeaturePlugin.php on line 331

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php:90) in /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-includes/pluggable.php on line 1421

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php:90) in /homepages/30/d559572160/htdocs/clickandbuilds/CheerioandCheers/wp-includes/pluggable.php on line 1424


  •  7
    Mike Marshfield replied

    Sorted! I changed the private function to public in the referenced php files and now i am able to log in. Thanks, Mike

  •  2,958
    Andrew replied

    Hello Mike,

    Thank you for getting in touch and glad you sorted the issue and thanks for sharing the solution.

    cheers!