Title: Deprecated constructor error in peepso-core activation
Last modified: August 31, 2016

---

# Deprecated constructor error in peepso-core activation

 *  Resolved [djisback](https://wordpress.org/support/users/djisback/)
 * (@djisback)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-constructor-2/)
 * `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://wordpress.org/plugins/peepso-core/](https://wordpress.org/plugins/peepso-core/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [djisback](https://wordpress.org/support/users/djisback/)
 * (@djisback)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-constructor-2/#post-7224060)
 * Found this to be a present issue with php7.x.x and using wordpress on bedrock
   [https://roots.io/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](https://wordpress.org/support/users/jaworskimatt/)
 * (@jaworskimatt)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-constructor-2/#post-7224122)
 * @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.

 * ![](https://s.w.org/plugins/geopattern-icon/peepso-core_e0dcd7.svg)
 * [Community by PeepSo - Download from PeepSo.com](https://wordpress.org/plugins/peepso-core/)
 * [Support Threads](https://wordpress.org/support/plugin/peepso-core/)
 * [Active Topics](https://wordpress.org/support/plugin/peepso-core/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/peepso-core/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/peepso-core/reviews/)

## Tags

 * [deprecated constructor](https://wordpress.org/support/topic-tag/deprecated-constructor/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matt Jaworski](https://wordpress.org/support/users/jaworskimatt/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-constructor-2/#post-7224122)
 * Status: resolved