• Hi,
    version 4.0.1.3 return this error:
    PHP Fatal error: Call to undefined method M_Gateway::M_Gateway() in /wp-content/plugins/membership/app_old/membershipincludes/gateways/gateway.freesubscriptions.php on line 23

    But version 4.0.1.2 works fine

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter filoz

    (@filoz)

    I probably found the problem;
    In app_old\membershipincludes\classes\class.gateway.php
    you changed function M_Gateway() to function __construct() {

    so… you should change in app_old\membershipincludes\gatewaysgateway.freesubscriptions.php (and others gateway) from
    parent::M_Gateway() to parent::__construct()

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @filoz,

    I’m testing 4.0.1.3 version on my site and I’m not able to replicate this issue. Can you tell me what PHP version you have on your server?

    kind regards,
    Kasia

    Thread Starter filoz

    (@filoz)

    Hi,
    here the info:
    WordPress Version: 4.8
    PHP Version: 5.6.30

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @filoz,

    I’m testing now the same configuration and I’m still not able to replicate this error at all.
    Does it shows when plugin is activated or while a specific action?

    kind regards,
    Kasia

    Hi, what is the solution for this ? We have also experienced the same issue.
    Using WordPress Version: 4.8

    Membership plugin version 4.0.1.3.
    Or maybe we could install older version for the membership plugin ? How do we get older version ?

    Thread Starter filoz

    (@filoz)

    @wpmudev-support2 … no, the site was completely down.

    @rheinharda I got the old version with something like

    svn export https://plugins.svn.wordpress.org/membership/tags/4.0.1.2/

    Replacing :
    parent::M_Gateway();
    seems to work:
    parent::__construct();

    Hopefully this gets fixed in the next released of Membership plugin..

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @filoz & @rheinharda,

    I’ve sent message to developers about this issue and I’m waiting for the feedback. I will get back to you as soon I will have more info.

    kind regards,
    Kasia

    Actually, it turned it didn’t work. Even though the plugin is managed to be activated now, but on the features page, it’s still doesn’t recognized it:
    Membership plugin is required to enabled this feature
    On membership setting page, display:
    Sorry, you are not allowed to access this page.

    Thread Starter filoz

    (@filoz)

    Hi @wpmudev-support2 , any news about this issue?

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @filoz,

    I’m super sorry for delay here. Our developer is still checking this issue and I don’t have any feedback yet 🙁
    I send him another message about the issue and I will update you when I will get more info.

    kind regards,
    Kasia

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Call to undefined method M_Gateway::M_Gateway()’ is closed to new replies.