Jump to content


Public support for most advanced custom contents module for PrestaShop. With our html box module you can add your contents to all available positions in prestashop, even non-default hooks. Our addon has many appearance conditions and support of smarty templates language. Its definitely one from the most powerful custom contents addon for prestashop
Photo

Warning: hideblock_by_group


  • Please log in to reply
No replies to this topic

#1 sts098

sts098

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 March 2025 - 07:39 PM

I am currently using v3.99 on PrestaShop 8.2.1.  Re-installed 3.99 after 3.995 would create error 500 in backoffice when editing blocks.

 

HTMLBOX Pro appears to be working, however, when troubleshooting a different module, I enabled debug.  While my custom hooks appear correctly in front office (3 different blocks on the product page), Debug reveals two errors prior to displaying the blocks.  Errors are:

 

Warning: Undefined array key "hideblock_by_group" in .../smarty/compile/classic/dd/b2/52/ddb252f6afeeb40ae3213c908b2dfbfe21fb623f_2.file.html.tpl.php on line 557. 

 

and

 

Warning: Attempt to read property "value" on null in .../smarty/compile/classic/dd/b2/52/ddb252f6afeeb40ae3213c908b2dfbfe21fb623f_2.file.html.tpl.php on line 557

 

Looks like this could be part of your html.tpl, as that is the only file I could find that contains the hideblock_by_group.

 

Is there anything I may be doing wrong?  



#2 sts098

sts098

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 March 2025 - 11:43 PM

I have since deleted and re-installed v3.9.9.  The warning still persists in the front office only showing when debug is enabled.  

 

Also noticed:

Each time a block is saved, <div id="dashBreakpointsHook" style="display: none;"></div> is appended to the code.  I am using the the default settings.  

 

{smartyTemplate:example}
<div id="dashBreakpointsHook" style="display: none;"></div>
<div id="dashBreakpointsHook" style="display: none;"></div>
<div id="dashBreakpointsHook" style="display: none;"></div>
<div id="dashBreakpointsHook" style="display: none;"></div>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users