Website crash with MiniFrontpage Pro Latest version
- Posted by Jose (33) Offline
After updating today's last version, my website crashed with the following error:
Too few arguments to function ModMinifrontpageproHelper::getThumbnail(), 7 passed in cubanamericanvoice.com/templates/sj_plus/html/mod_minifrontpagepro/infinity_ajax.php on line 48 and exactly 8 expected
Joomla version 4.3.4 php 8.1.24
I have reinstalled the older version 2.2.0 and work property.
The same problem happened on another website patriademarti.com
Joomla version 4.3.4 php 8.1.24
1 year 1 month ago #1
by Jose
Too few arguments to function ModMinifrontpageproHelper::getThumbnail(), 7 passed in cubanamericanvoice.com/templates/sj_plus/html/mod_minifrontpagepro/infinity_ajax.php on line 48 and exactly 8 expected
Joomla version 4.3.4 php 8.1.24
I have reinstalled the older version 2.2.0 and work property.
The same problem happened on another website patriademarti.com
Joomla version 4.3.4 php 8.1.24
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5260) Offline
Hi Jose,
Apologies for any inconvenience
It appears that you have a template override in place. An additional code has been included in the template file to support the Helix template and SP Page Builder in version 2.4.0. Please addto thecode in your template override file located at /templates/sj_plus/html/mod_minifrontpagepro//infinity_ajax.php, specifically at line 48.
so this partbecome
1 year 1 month ago #2
by TemplatePlazza
Apologies for any inconvenience
It appears that you have a template override in place. An additional code has been included in the template file to support the Helix template and SP Page Builder in version 2.4.0. Please add
$item->attribs
$thumb_img
so this part
$thumb_img = ModMinifrontpageproHelper::getThumbnail($params, $item->id, $item->images, $item->title,$item->introtext.$item->fulltext,$module->id,$item->modified);
$thumb_img = ModMinifrontpageproHelper::getThumbnail($params, $item->id, $item->images, $item->title,$item->introtext.$item->fulltext,$module->id,$item->modified,$item->attribs);
Please Log in or Create an account to join the conversation.