After upgrade 2.5 to joomla 3.5 custom plugin doesn't work -


my debug stack says : jhtml image not found.

call stack

function location

1 japplicationcms->execute() c:\xampp\htdocs\test\index.php:49 2 japplicationsite->doexecute() c:\xampp\htdocs\test\libraries\cms\application\cms.php:257 3 japplicationsite->dispatch() c:\xampp\htdocs\test\libraries\cms\application\site.php:230 4 jcomponenthelper::rendercomponent() c:\xampp\htdocs\test\libraries\cms\application\site.php:191 5 jcomponenthelper::executecomponent() c:\xampp\htdocs\test\libraries\cms\component\helper.php:380 6 require_once() c:\xampp\htdocs\test\libraries\cms\component\helper.php:405 7 jcontrollerlegacy->execute() c:\xampp\htdocs\test\components\com_incidentmap\incidentmap.php:131 8 incidentcontroller->display() c:\xampp\htdocs\test\libraries\legacy\controller\legacy.php:728 9 jcontrollerlegacy->display() c:\xampp\htdocs\test\components\com_incidentmap\controller.php:31 10 incidentviewflorida->display() c:\xampp\htdocs\test\libraries\legacy\controller\legacy.php:690 11 jviewlegacy->display() c:\xampp\htdocs\test\components\com_incidentmap\views\florida\view.html.php:31 12 jviewlegacy->loadtemplate() c:\xampp\htdocs\test\libraries\legacy\view\legacy.php:209 13 include() c:\xampp\htdocs\test\libraries\legacy\view\legacy.php:670 14 jhtml::_() c:\xampp\htdocs\test\components\com_incidentmap\views\florida\tmpl\default.php:8

please me fix this

replace problematic code with:

jhtml::image($file, $alt, $attribs = null, $relative = false, $returnpath = 0) 

of course, need replace parameters above values.

i think using jhtml::_('image.site',... no longer exists in joomla 3.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -