BitaceS

New member
Member reviews
View
Joined
Jan 16, 2026
Messages
5
Reaction score
0
Points
1
Website
hytaletalk.com
Credits
356
  • Hi,

    me again :)

    By the installation of the Addon I got following error:

    Code:
    Fatal error: Declaration of Mitch\PartnerLinks\Setup::upgrade($previousVersion, array &$stateChanges) must be compatible with XF\AddOn\AbstractSetup::upgrade(array $stepParams = []) in /var/www/vhosts/hytaletalk.com/httpdocs/src/addons/Mitch/PartnerLinks/Setup.php on line 30

    Xenforo v2.8.3 I use,

    Thanks!

    - BitaceS
     
    I adjusted following to make it work:

    before;


    Code:
    public function upgrade($previousVersion, array &$stateChanges)
    {
        $this->createOrUpdateSchema();
    }

    after:

    Code:
    public function upgrade(array $stepParams = [])
    {
        $this->createOrUpdateSchema();
    }
     
    Hi, using 2.3.9 and getting these errors when trying to install it. Any help please.
     

    Attachments

    • 1.png
      1.png
      13.7 KB · Views: 0
    • 2.png
      2.png
      63.4 KB · Views: 0
    Top
    Live activity
    Just now · Social proof