Jump to content
thirty bees forum
  • 0

public_html/classes/Dispatcher.php on line 513 error


Webshoptime

Question

After migration off my latest shop, I'm getting a new error. ``` public_html/classes/Dispatcher.php on line 513 [ThirtyBeesException]

Missing template name at line 678 in file vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplate.php

  1. public function __get($property_name)
  2. {
  3. switch ($property_name) {
  4. case 'source':
  5. if (strlen($this->template_resource) == 0) {
  6. throw new SmartyException('Missing template name');
  7. }
  8. $this->source = Smarty_Resource::source($this);
  9. // cache template object under a unique ID
  10. // do not cache eval resources
  11. if ($this->source->type != 'eval') { SmartyInternalTemplate->get - [line 346 - vendor/smarty/smarty/libs/sysplugins/smartycacheresource.php] - [1 Arguments] SmartyTemplate_Cached->construct - [line 707 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplate.php] - [1 Arguments] SmartyInternalTemplate->__get - [line 410 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplatebase.php] - [1 Arguments] SmartyInternalTemplateBase->isCached - [line 3094 - classes/module/Module.php] - [3 Arguments] ModuleCore->isCached - [line 73 - modules/productpaymentlogos/productpaymentlogos.php] - [2 Arguments] ProductPaymentLogos->hookDisplayProductButtons - [line 771 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 487 - classes/Hook.php] - [3 Arguments] HookCore::execWithoutCache - [line 280 - classes/Hook.php] - [7 Arguments] HookCore::exec - [line 322 - controllers/front/ProductController.php] - [2 Arguments] ProductControllerCore->initContent - [line 366 - classes/controller/Controller.php] ControllerCore->run - [line 43 - override/classes/controller/Controller.php] Controller->run - [line 743 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 33 - index.php]```
Link to comment
Share on other sites

Recommended Posts

  • 0

i just received this mail

"Indeed, this is not working and it doesn’t throw an error.

I have no clue what may be causing this, this is not a standard PrestaShop version. My advice would be to try using the module without managing labels in PrestaShop, I don’t think we’ll ever support your Thirty bees fork."

Do you have contact the developer?

Link to comment
Share on other sites

  • 0

i'm getting this error if i click on the Bpost menu

``` [ThirtyBeesException]

Syntax error in template "/home/17442-38450.cloudwaysapps.com/aegqhbdkcs/publichtml/modules/bpostshm/views/templates/admin/ordersbpost/helpers/list/listfooterscript.tpl" on line 44 "if ($td.text().trim() == 1){trlist.push($td.closest('tr'));" - Unexpected ".", expected one of: "}" at line 44 in file vendor/smarty/smarty/libs/sysplugins/smartyinternal_templatecompilerbase.php

  1. public $suppressMergedTemplates = false;
  2. /**
    • compile tag objects
  3. *
    • @var array
  4. */
  5. public static $tagobjects = array();
  6. /**
    • tag stack SmartyInternalTemplateCompilerBase->triggertemplateerror - [line 4435 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplateparser.php] SmartyInternalTemplateparser->yysyntaxerror - [line 4501 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplateparser.php] - [2 Arguments] SmartyInternalTemplateparser->doParse - [line 118 - vendor/smarty/smarty/libs/sysplugins/smartyinternalsmartytemplatecompiler.php] - [2 Arguments] SmartyInternalSmartyTemplateCompiler->doCompile - [line 283 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplatecompilerbase.php] - [1 Arguments] SmartyInternalTemplateCompilerBase->compileTemplate - [line 197 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplate.php] - [1 Arguments] SmartyInternalTemplate->compileTemplateSource - [line 155 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplatebase.php] SmartyInternalTemplateBase->fetch - [line 424 - classes/SmartyCustom.php] - [7 Arguments] SmartyCustomTemplate->fetch - [line 303 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplate.php] - [7 Arguments] SmartyInternalTemplate->getSubTemplate - [line 265 - cache/smarty/compile/15/d3/9a/15d39ab991a16bd3c64dc52c1b5ff005aff2a033.file.listfooter.tpl.php] - [7 Arguments] content598cb77ccfae3623490341 - [line 188 - vendor/smarty/smarty/libs/sysplugins/smartyinternaltemplatebase.php] - [1 Arguments] SmartyInternalTemplateBase->fetch - [line 424 - classes/SmartyCustom.php] - [7 Arguments] SmartyCustom_Template->fetch - [line 637 - classes/helper/HelperList.php] HelperListCore->displayListFooter - [line 155 - classes/helper/HelperList.php] HelperListCore->generateList - [line 589 - modules/bpostshm/controllers/admin/AdminOrdersBpost.php] - [2 Arguments] AdminOrdersBpostController->renderList - [line 2426 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 319 - modules/bpostshm/controllers/admin/AdminOrdersBpost.php] AdminOrdersBpostController->initContent - [line 366 - classes/controller/Controller.php] ControllerCore->run - [line 743 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php]```
Link to comment
Share on other sites

  • 0

I get the same error: Warning: Invalid argument supplied for foreach() in /classes/Dispatcher.php on line 513

on every backend page. And this one sporadically on some:

Warning: Cannot modify header information - headers already sent by (output started at /home/librairiezbook/public_html/classes/Dispatcher.php:513) in /classes/Tools.php on line 299

Even with all third party modules and overrides disabled.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...