1
Hi, i'm writing a new module, the problem is that when i make update of my module it show a message:
Fatal error: Call to a member function on a non-object in /trabajos/solidarios/sitio/html/modules/system/admin/modulesadmin/main.php on line 361
the line pointed there is the one that makes something with a block's template.
the lines of the block in the xoops_version are:
// Blocks
$modversion['blocks'][1]['file'] = "comercios_home.php";
$modversion['blocks'][1]['name'] = "listado_home_random";
$modversion['blocks'][1]['description'] = "muestra 3 comercios random";
$modversion['blocks'][1]['show_func'] = "b_comercios_home_show";
$modversion['blocks'][1]['template'] = 'com_block_home.html';
and the template is only plain html (just for test)
so, anybody knows what can it be? i can update any other modules and i haven't touched the system module, so.....
i need help :)
cheers,
Esteban
Fatal error: Call to a member function on a non-object in /trabajos/solidarios/sitio/html/modules/system/admin/modulesadmin/main.php on line 361
the line pointed there is the one that makes something with a block's template.
the lines of the block in the xoops_version are:
// Blocks
$modversion['blocks'][1]['file'] = "comercios_home.php";
$modversion['blocks'][1]['name'] = "listado_home_random";
$modversion['blocks'][1]['description'] = "muestra 3 comercios random";
$modversion['blocks'][1]['show_func'] = "b_comercios_home_show";
$modversion['blocks'][1]['template'] = 'com_block_home.html';
and the template is only plain html (just for test)
so, anybody knows what can it be? i can update any other modules and i haven't touched the system module, so.....
i need help :)
cheers,
Esteban