Jump to content

PHP 8.2 errors


joe_g
 Share

Recommended Posts

Hi there,

just installed padloper 2, for that I needed php > 7.3, so i upgraded to what is now the latest (8.2) but I get these errors:

 

Deprecated: Creation of dynamic property ProcessWire\Padloper::$outOfStock is deprecated in /home/joel/subdomains/godzillab/site/modules/Padloper/Padloper/Padloper.module on line 111

Deprecated: Creation of dynamic property ProcessWire\Padloper::$productNotFound is deprecated in /home/joel/subdomains/godzillab/site/modules/Padloper/Padloper/Padloper.module on line 112

Deprecated: Creation of dynamic property ProcessWire\Padloper::$checkYourOptions is deprecated in /home/joel/subdomains/godzillab/site/modules/Padloper/Padloper/Padloper.module on line 113

Deprecated: Creation of dynamic property ProcessWire\Padloper::$session_id is deprecated in /home/joel/subdomains/godzillab/site/modules/Padloper/Padloper/Padloper.module on line 122

thanks!

 

  • Like 1
Link to comment
Share on other sites

9 hours ago, joe_g said:

Hi there,

just installed padloper 2,

Hi @joe_g,

Thanks for the purchase!

9 hours ago, joe_g said:

so i upgraded to what is now the latest (8.2) but I get these errors:

Thanks for bringing these to my attention. I have been testing with PHP 8.1. I'll test with 8.2 to fix these (and possibly other) bugs.

8 hours ago, joe_g said:

With 8.2 the 'pages' view doesn't work either. You get 'unkown error, please try later'.

Do you mean ProcessWire or Padloper? If the latter, what 'pages' view is this?

Also noting here that I have seen your other support questions. I'll get to them as soon as possible.

Many thanks.

Link to comment
Share on other sites

1 hour ago, kongondo said:

Do you mean ProcessWire or Padloper? If the latter, what 'pages' view is this?

 

It's the general PW page overview. In general things are a bit borked due to some deprecation notice, I think..

ps. Nice with a proper ecommerce solution for PW!

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

on php 8.2 i have the same errors:
for a temporary fix until it is updated i just added these lines to Padloper.module:

 

public $padloperDownloads;
public $outOfStock; // added for 8.2
public $productNotFound; // added for 8.2
public $checkYourOptions; // added for 8.2
public $session_id; // added for 8.2

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...