Okay
  Public Ticket #1478410
error 500, Smarty Lazy Register error
Closed

Comments

  •  2
    xavier started the conversation

    Hello, 

    I have the following error :

    1. in SmartyLazyRegister.php line 87
    2. at ErrorHandler->handleError('2', 'Missing argument 1 for SmartyLazyRegister::getInstance(), called in /var/www/clients/client1/web17/web/modules/fieldsmartcodes/fieldsmartcodes.php on line 281 and defined', '/var/www/clients/client1/web17/web/classes/Smarty/SmartyLazyRegister.php', '87', array()) in SmartyLazyRegister.php line 87
    3. at SmartyLazyRegister::getInstance() in fieldsmartcodes.php line 281
    4. at FieldSmartCodes->_prepHook(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '5')) in fieldsmartcodes.php line 293
    5. at FieldSmartCodes->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '5')) in Hook.php line 758
    6. at HookCore::coreCallHook(object(FieldSmartCodes), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '5')) in Hook.php line 723
    7. at HookCore::exec('displayHeader') in FrontController.php line 528
    8. at FrontControllerCore->initContent() in IndexController.php line 37
    9. at IndexControllerCore->initContent() in Controller.php line 201
    10. at ControllerCore->run() in Dispatcher.php line 366
    11. at DispatcherCore->dispatch() in index.php line 28


    php 5.4.17
    max execution : 60
    Prestashop 1.7.0.6


  •  1,587
    Criss replied

    Hi xavier,

    Replace the following attachments by path:

    Root \ modules \ fieldsmartcode \ fieldsmartcode.php


    Best Regards,
    Criss - FieldThemes

  •  2
    xavier replied

    Ok, it wokrs, thank u for fast response :)

    I have another proble when i go to catalogue i ve got an error 500 but nothing happen in debug mode (catologue works perfectly) 

    Any idea ?

  •  1,587
    Criss replied

    Hi xavier ,

    Please turn on debugging and give us the path & image problem.

    Best Regards,
    Criss - FieldThemes

  •  2
    xavier replied

    I haven't any error in debug mode...

  •  1,587
    Criss replied

    Hi xavier ,

    What is the error 500 you encountered?

    where do they appear error 500 ?

    Best Regards,
    Criss - FieldThemes

  • BF replied

    Hello, I have the same issue. Where can I download the attachment?

  •  250
    Andrea replied

    Hi
    Sorry, that module is too old and we no longer use them. We have switched to using new modules to accommodate the new version of Prestashop and Php.
    You can refer to our other themes.
    Thanks

    Best Regards,

    Andrea - FieldThemes Support Team