• Resolved djisback

    (@djisback)


    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DateSpanClass has a deprecated constructor in /wp-content/plugins/peepso-core/classes/date.php on line 611.

    When attempting to install 1.5.6 and activate alone with generate this error. Even once activated with extensions of chat, friends, etc will still consistent message.
    Tried on previous versions of wp 4.4.0, 4.4.1 still brings same error on a fresh vanilla install.

    Please advise?

    https://www.ads-software.com/plugins/peepso-core/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter djisback

    (@djisback)

    Found this to be a present issue with php7.x.x and using wordpress on bedrock https://roots.io/bedrock/

    Found interesting:
    But does not break when using the normal wordpress install folder structure.
    wp-content, wp-admin, … etc

    When using the custom structure of bedrock maybe its not liking that style?
    Of renaming wp-content/ to app/

    Plugin Contributor Matt Jaworski

    (@jaworskimatt)

    @dijsback it’s a very minor PHP7 issue and we will patch this up in 1.5.7 – in the meantime it should be possible to activate and use PeepSo without problems – error reporting should be off on production environments anyway

    You can also edit the file (peepso-core)/classes/date.php and around like 640

    replace

    function DateSpanClass($dateStart = ”, $dateStop = ”)

    with

    function __construct($dateStart = ”, $dateStop = ”)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated constructor error in peepso-core activation’ is closed to new replies.