Welcome to Mitch Addons

Join our community to access exclusive content, participate in discussions, and connect with like-minded individuals. We offer resources, products, and dedicated support to help you succeed.

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();
    }
     
    Back
    Top
    Live activity
    Just now · Social proof