Results 1 to 4 of 4

Thread: PHP Strict Standards error in 5.0.0f

  1. #1
    wcwooldridge is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    13

    Default PHP Strict Standards error in 5.0.0f

    We are in the process of upgrading our sugar sites from 4.2.1f to 5.0.0f through version 4.5.1i. The upgrade were relatively painless but now getting litterly 1000's of error in our apace error log for "PHP Strict Standards"

    a sampling of the them ---

    PHP Strict Standards: Non-static method LoggerLog::debug() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/log4php/LoggerHierarchy.php on line 233,
    PHP Strict Standards: Non-static method LoggerLog::debug() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/log4php/LoggerPropertyConfigurator.php on line 355,
    PHP Strict Standards: Non-static method LoggerLog::debug() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/log4php/LoggerPropertyConfigurator.php on line 515,
    PHP Strict Standards: Non-static method LoggerPropertySetter::setPropertiesByObject() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/log4php/LoggerPropertyConfigurator.php on line 637,
    PHP Strict Standards: Non-static method LoggerPropertySetter::setPropertiesByObject() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/log4php/LoggerPropertyConfigurator.php on line 645,
    PHP Strict Standards: Non-static method LogicHook::initialize() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/include/MVC/View/SugarView.php on line 94,
    PHP Strict Standards: Non-static method LogicHook::initialize() should not be called statically in /project/sugarcrm/web/htdocs/ptrak/include/utils.php on line 2476,
    PHP Strict Standards: Non-static method PearDatabase::getInstance() should not be called statically, assuming $this from incompatible context in /project/sugarcrm/web/htdocs/ptrak/data/Link.php on line 90,

    ---

    By no means is this all of the errors, only a sampling.

    If you need further information please let me know and I'll gather and post.

    The stack comprise of the following... Also at the same time of this upgrade we have moved to PHP 5.1.6 from 4.3.2

    Sugar Version 5.0.0f Communtiy
    Operating System Red Hat Enterprise Linux 5
    PHP Version 5.1.6
    Database 5.0.22
    Web Server Apache 2.2.3

  2. #2
    tim.itelework is offline Member
    Join Date
    Oct 2009
    Posts
    6

    Default Re: PHP Strict Standards error in 5.0.0f

    Any solution to this?

    I'm having the same problem, but still haven't been able to get past the errors.

    Thanks in advance!

  3. #3
    tobydz is offline Sugar Community Member
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    144

    Default Re: PHP Strict Standards error in 5.0.0f

    I'm having the same problem

  4. #4
    mylogic's Avatar
    mylogic is offline Sugar Community Member
    Join Date
    Dec 2011
    Location
    India
    Posts
    11

    Default Re: PHP Strict Standards error in 5.0.0f

    Hi,

    put error_reporting(0); in first line of index.php file in the root directory. You can avoid the Strict Standard Errors.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Warnings after install add-in Module
    By kgeving in forum Help
    Replies: 1
    Last Post: 2006-08-08, 05:54 PM
  2. Errors after upgrade
    By mturany in forum Help
    Replies: 0
    Last Post: 2006-04-24, 04:40 AM
  3. ERROR in 4.01
    By rateck in forum Help
    Replies: 3
    Last Post: 2006-02-02, 10:00 PM
  4. Replies: 7
    Last Post: 2005-05-10, 08:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •