Author Topic: Should not be called statically  (Read 1514 times)

Blinkiz

  • Freshman
  • *
  • Posts: 24
    • View Profile
Should not be called statically
« on: August 05, 2015, 12:15:18 PM »
Had this problem since we switched from 2.x to 3.x.
log.php fills up and we have a cronjob each night erasing it. So instead of this workaround maybe I should ask here why these errors comes up.
We have had problems all the time since 3.x series. We always in a "workaround" mode here.

Code: [Select]
Session "default" started at 2015-08-05T15:10:28+0000
#1 ERROR: Error: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in '/var/www/fengnew/environment/library/database/adapters/MysqlDBAdapter.class.php' on line 28 (error code: 8192)
#2 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/plugins/base/BasePlugin.class.php' on line 201 (error code: 8192)
#3 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/plugins/base/BasePlugin.class.php' on line 201 (error code: 8192)
#4 ERROR: Error: Non-static method BaseContacts::findById() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/CompanyWebsite.class.php' on line 163 (error code: 8192)
#5 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/contacts/base/BaseContacts.class.php' on line 224 (error code: 8192)
#6 ERROR: Error: Non-static method BaseObjects::getColumns() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/ContentDataObjects.class.php' on line 280 (error code: 8192)
#7 ERROR: Error: Non-static method BaseContacts::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/contacts/base/BaseContact.class.php' on line 637 (error code: 8192)
#8 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#9 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#10 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#11 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#12 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#13 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#14 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#15 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#16 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#17 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#18 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#19 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#20 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#21 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#22 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#23 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#24 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#25 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#26 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#27 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#28 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#29 ERROR: Error: Non-static method BaseObjectTypes::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/object_types/base/BaseObjectType.class.php' on line 202 (error code: 8192)
#30 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/objects/base/BaseObject.class.php' on line 266 (error code: 8192)
#31 ERROR: Error: Non-static method BaseObjects::findById() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/ContentDataObjects.class.php' on line 327 (error code: 8192)
#32 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/objects/base/BaseObjects.class.php' on line 165 (error code: 8192)
#33 ERROR: Error: Non-static method BaseObjects::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/application/models/objects/base/BaseObject.class.php' on line 266 (error code: 8192)
#34 ERROR: Error: Non-static method BasePlugins::instance() should not be called statically, assuming $this from incompatible context in '/var/www/fengnew/environment/classes/localization/Localization.class.php' on line 179 (error code: 8192)
Time since start: 0.020233154296875 seconds
-------------------------------------------------------------------------------

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: Should not be called statically
« Reply #1 on: August 11, 2015, 04:24:06 AM »
Same here, hoepfully the closed ticket #4165 will be fixed in the codebase soon...

 

anything