php - Call to undefined method HTML_neolegal::legals() -
i converted joomla-1 php-5.6 except 1 component, gives me error:
php fatal error: call undefined method html_neolegal::legals() in ../administrator/components/com_neolegal/admin.neolegal.php on line 64
and line 58-65 contains:
// id := 1 (only 1 record) function legals( $option ) { global $database; $id = 1; $row = new mosneolegal ( $database ); $row->load( $id ); html_neolegal::legals( $row, $option ); } i know it's because use new php version, need workaround this. it's not possible downgrade.
i think there 2 functions same name "legals". try find legals function on html_neolegal class , change function name example legals_new
then change call html_neolegal::legals_new( $row, $option )...
Comments
Post a Comment