Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to turn off strict standards error warnings in PHP 5.4

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › How to turn off strict standards error warnings in PHP 5.4

Tagged: error warnings, strict standards

  • This topic has 3 replies, 3 voices, and was last updated 12 years ago by memwpent.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 3, 2013 at 1:51 am #9165
    memwpent
    Spectator

    I have moved from PHP 5.2 to PHP 5.4 and am getting strict standards error messages such as

    Strict Standards: Non-static method dbAccess::find() should not be called statically in /homepages/32/d419215780/htdocs/wp-content/plugins/wp-eMember/eMember_registration_utils.php on line 674

    It seems that PHP 5.4 includes E_STRICT in E_ALL

    Have tried setting setting

    php_flag display_errors off

    in htaccess, but that fails to display web page gives 500 error

    Don’t have access to php.ini, but created a local php.ini and added line

    error_reporting = E_ALL & ~E_STRICT

    and placed php.ini file in emember folder, but that didn’t make any difference.

    Is there a way that I can turn off the default PHP 5.4 strict standards error reporting?

    June 3, 2013 at 3:09 am #55953
    adnan
    Member

    Thanks for your query. We will add a fix for this asap.

    June 3, 2013 at 8:02 am #55954
    admin
    Keymaster

    We have updated the plugin to remove references to the “static” keyword so you shouldn’t see this issue in PHP5.4 install anymore. Please load a fresh new copy of the plugin now:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    June 3, 2013 at 10:23 am #55955
    memwpent
    Spectator

    Thanks for the very quick, excellent response. It all works fine now.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ