Okay
  Public Ticket #1505404
Webpage is not working correctly: Deprecated Constructor
Closed

Comments

  • Regina started the conversation

    Help!  I get this error code:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPReset has a deprecated constructor in /home1/mcquayma/public_html/mcquaymartinschool/wp-content/plugins/wp-reset/wp-reset.php on line 20

    Notice: Only variables should be passed by reference in /home1/mcquayma/public_html/mcquaymartinschool/wp-content/themes/polytechnic/mythology-core/option-tree/ot-loader.php on line 329

  • Regina replied

    I thought it was fixed as one point when I deactivated the WP Reset.  But then, it's back.  My host provider tried what they could do as well.  He said it could be something going on with the theme.  Please help!

    A screenshot of the code is attached.

    Attached files:  Capture.JPG

  •  115
    Charles replied

    Hi Regina,

    Try running through these Standard Troubleshooting Steps to see if the fixes the issue. This is not happening on the demo or on my test sites, so I suspect there is a customization or added plugin causing this. From there, you can also set WP_DEBUG to false in wp-config.php.

    Let me know if that helps,
    Charles

    Support Policy