Includes - tng issue : php upgrade 5.3.1 Fatal Error undefined method

Includes - tng issue : php upgrade 5.3.1 Fatal Error undefined method

Includes - tng issue : php upgrade 5.3.1 Fatal Error undefined method
divider

I was getting this error with the php 5.3.1 upgrade & the site would not work

Fatal error: Call to undefined method tNG_fields::tNG_fields() in /home/onlinemo/public_html/includes/tng/tNG_custom.class.php on line 19

On line 19 was this code

parent::tNG_fields($connection);

I replaced it with this code

parent::tNG($connection);

This has to be changed in the following files

  • tNG_insert.class.php
  • tNG_update.class.php
  • tNG_delete.class.php and
  • tNG_custom.class.php
Written by:  - 11 Feb, 2010