1

hello i get this error with my module on my store magento

Notice: Undefined variable: secureRenderer in /home/user/domains/domain.com/public_html/app/code/Webkul/VideoPlayer/view/adminhtml/templates/helper/gallery.phtml on line 38

and the code

        <?= $secureRenderer->renderEventListenerAsTag(
        'onclick',
        "jQuery('new-video').modal('openModal'); jQuery('#new_video_form')[0].reset();",
        'button#add_video_button'
    ) ?>

enter image description here

Nino
  • 1
  • 6
  • I think this will be the solution to your problem https://magento.stackexchange.com/questions/365383/magento-2-undefined-variable-securerenderer – byalexes Nov 09 '23 at 02:17
  • thank you for replay @byalexes i think this post not help me my probblem is module out magento stock files and this post problem with shipping helper file this stock file in magento system but my problem with module and jequry – Nino Nov 09 '23 at 12:53
  • Based on the error that the PHP interpreter gives, you definitely have a problem with the $secureRenderer variable. It simply doesn't exist. – byalexes Nov 11 '23 at 23:00

0 Answers0