Search

Accessing static property Frontend::$Database as non static
... /symphony/lib/core/class.frontend.php line 55

50          parent::__construct();
51
52          $this->_env = array();
53
54          // Need this part for backwards compatiblity
55          $this->Database = Symphony::Database();
56          $this->Configuration = Symphony::Configuration();
57          $this->ExtensionManager = Symphony::ExtensionManager();
58      }
59

(PHP.net)[http://php.net/manual/en/function.error-reporting.php] notes that in v 5.4 ESTRICT is now part of EALL.

This is running in my development environment so I need to have some Error Reporting.

Would anyone know what I can do here?

Adding & ~E_STRICT to this line works as a stopgap until Symphony is cleaned up a little.

Symphony 2.3 definitely improves on 2.2.5, but there is still some notices that are thrown around so they have been suppressed for the moment. #1041 is the bug for PHP 5.4 support without having to suppress E_STRICT notices.

Thank you Brendo. You are greatness.

Just ran into issues with 2.2.5 on PHP 5.4.

My client's host requires an update to PHP to 5.4 and I do not have the time to update Symphony to 2.3+ at the moment. Does this 'stopgap' error suppression mean Symphony will at least run ok?

Thanks

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details