Website crash with MiniFrontpage Pro Latest version

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

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 add
$item->attribs
to the
$thumb_img
code in your template override file located at /templates/sj_plus/html/mod_minifrontpagepro//infinity_ajax.php, specifically at line 48.
so this part
$thumb_img = ModMinifrontpageproHelper::getThumbnail($params, $item->id, $item->images, $item->title,$item->introtext.$item->fulltext,$module->id,$item->modified);
become
$thumb_img = ModMinifrontpageproHelper::getThumbnail($params, $item->id, $item->images, $item->title,$item->introtext.$item->fulltext,$module->id,$item->modified,$item->attribs);
    
1 year 1 month ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum