( ! ) Fatal error: Uncaught Error: Call to undefined method Tools::link_rewrite() in /var/www/prod/bodyone.fr/public/modules/ph_simpleblog/ph_simpleblog.php on line 567
( ! ) Error: Call to undefined method Tools::link_rewrite() in /var/www/prod/bodyone.fr/public/modules/ph_simpleblog/ph_simpleblog.php on line 567
Call Stack
#TimeMemoryFunctionLocation
10.0001558152{main}( ).../index.php:0
20.08077200776DispatcherCore::getInstance( $request = ??? ).../index.php:78
30.08097203976DispatcherCore->__construct( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\InputBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = '/en/1-home?q=Size-44-S%5C%2FM-XL-38%2FCompositions-65%25+polyester%2C+35%25+coton-100%25+POLYAMIDE-100%25+Polyester'; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en'; private ?string $preferredFormat = NULL; private bool $isHostValid = TRUE; private bool $isForwardedValid = TRUE; private bool $isSafeContentPreferred = *uninitialized*; private array $trustedValuesCache = []; private $isIisRewrite = FALSE } ).../Dispatcher.php:193
40.08207207992DispatcherCore->loadRoutes( $id_shop = ??? ).../Dispatcher.php:235
50.08227230144HookCore::exec( $hook_name = 'moduleRoutes', $hook_args = ['id_shop' => 1], $id_module = NULL, $array_return = TRUE, $check_exceptions = FALSE, $use_push = ???, $id_shop = ???, $chain = ??? ).../Dispatcher.php:584
60.11898138696HookCore::callHookOn( $module = class ph_simpleblog { public $id = 443; public $version = '1.7.2'; public $database_version = NULL; public $ps_versions_compliancy = ['min' => '1.6.0.0', 'max' => '9.0.1']; public $dependencies = []; public $name = 'ph_simpleblog'; public $displayName = 'Blog for PrestaShop'; public $description = 'Adds a blog to your PrestaShop store'; public $confirmUninstall = 'Are you sure you want to delete this module?'; public $author = 'PrestaHome'; public $author_uri = ''; public $module_key = ''; public $bootstrap = TRUE; public $description_full = NULL; public $additional_description = NULL; public $compatibility = NULL; public $nb_rates = NULL; public $avg_rate = NULL; public $badges = NULL; public $message = ''; public $logo = ''; public $options = NULL; public $need_instance = 0; public $is_configurable = 1; public $tab = 'front_office_features'; public $active = 1; public $warning = NULL; public $enable_device = 7; public $limited_countries = []; public $controllers = [0 => 'single', 1 => 'list', 2 => 'category', 3 => 'categorypage', 4 => 'page', 5 => 'author', 6 => 'authorslist']; public $installed = NULL; public $onclick_option = FALSE; public $url = NULL; public $image = NULL; public $price = NULL; public $type = NULL; protected $_lang = []; protected $_path = '/modules/ph_simpleblog/'; protected $local_path = '/var/www/prod/bodyone.fr/public/modules/ph_simpleblog/'; protected $_errors = []; protected $_confirmations = []; protected $table = 'module'; protected $identifier = 'id_module'; protected $context = class Context { public $cart = NULL; public $customer = class Customer { ... }; public $cookie = class Cookie { ... }; public $session = class Symfony\Component\HttpFoundation\Session\Session { ... }; public $link = class Link { ... }; public $country = class Country { ... }; public $employee = NULL; public $controller = NULL; public $override_controller_name_for_translations = NULL; public $language = class Language { ... }; public $currency = NULL; public $currentLocale = NULL; public $tab = NULL; public $shop = class Shop { ... }; public $tmpOldShop = NULL; public $smarty = class SmartyDev { ... }; public ?Detection\MobileDetect $mobile_detect = NULL; public $mode = NULL; public $container = NULL; public $virtualTotalTaxExcluded = 0; public $virtualTotalTaxIncluded = 0; protected $translator = class PrestaShopBundle\Translation\TranslatorComponent { ... }; protected $priceComputingPrecision = NULL; protected ?bool $mobile_device = NULL; protected ?bool $is_mobile = NULL; protected ?bool $is_tablet = NULL }; protected $smarty = class Smarty_Data { public $_objType = 4; public $template_class = 'Smarty_Internal_Template'; public $tpl_vars = [...]; public $parent = class SmartyDev { ... }; public $config_vars = [...]; public $ext = class Smarty_Internal_Extension_Handler { ... }; public $dataObjectName = 'Data_object 1'; public $smarty = class SmartyDev { ... } }; protected $current_subtemplate = NULL; protected $tabs = []; private ${ModuleCore}container = NULL; public $multistoreCompatibility = 0; public $is_16 = FALSE; public $is_17 = TRUE; public $moduleTabs = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...]]; public $secure_key = '' }, $hookName = 'moduleRoutes', $hookArgs = ['id_shop' => 1, 'cookie' => class Cookie { protected $_content = [...]; protected $_name = 'PrestaShop-d39490375a1907390e1203ee9c41ee1d'; protected $_expire = 0; protected $_domain = 'www.bodyone.fr'; protected $_sameSite = FALSE; protected $_path = '/'; protected $cipherTool = class PhpEncryption { ... }; protected $_modified = FALSE; protected $_allow_writing = TRUE; protected $_salt = '6CxmBHXG'; protected $_standalone = FALSE; protected $_secure = TRUE; protected $session = NULL }, 'cart' => NULL, 'altern' => 1] ).../Hook.php:1128
70.11898138744HookCore::coreCallHook( $module = class ph_simpleblog { public $id = 443; public $version = '1.7.2'; public $database_version = NULL; public $ps_versions_compliancy = ['min' => '1.6.0.0', 'max' => '9.0.1']; public $dependencies = []; public $name = 'ph_simpleblog'; public $displayName = 'Blog for PrestaShop'; public $description = 'Adds a blog to your PrestaShop store'; public $confirmUninstall = 'Are you sure you want to delete this module?'; public $author = 'PrestaHome'; public $author_uri = ''; public $module_key = ''; public $bootstrap = TRUE; public $description_full = NULL; public $additional_description = NULL; public $compatibility = NULL; public $nb_rates = NULL; public $avg_rate = NULL; public $badges = NULL; public $message = ''; public $logo = ''; public $options = NULL; public $need_instance = 0; public $is_configurable = 1; public $tab = 'front_office_features'; public $active = 1; public $warning = NULL; public $enable_device = 7; public $limited_countries = []; public $controllers = [0 => 'single', 1 => 'list', 2 => 'category', 3 => 'categorypage', 4 => 'page', 5 => 'author', 6 => 'authorslist']; public $installed = NULL; public $onclick_option = FALSE; public $url = NULL; public $image = NULL; public $price = NULL; public $type = NULL; protected $_lang = []; protected $_path = '/modules/ph_simpleblog/'; protected $local_path = '/var/www/prod/bodyone.fr/public/modules/ph_simpleblog/'; protected $_errors = []; protected $_confirmations = []; protected $table = 'module'; protected $identifier = 'id_module'; protected $context = class Context { public $cart = NULL; public $customer = class Customer { ... }; public $cookie = class Cookie { ... }; public $session = class Symfony\Component\HttpFoundation\Session\Session { ... }; public $link = class Link { ... }; public $country = class Country { ... }; public $employee = NULL; public $controller = NULL; public $override_controller_name_for_translations = NULL; public $language = class Language { ... }; public $currency = NULL; public $currentLocale = NULL; public $tab = NULL; public $shop = class Shop { ... }; public $tmpOldShop = NULL; public $smarty = class SmartyDev { ... }; public ?Detection\MobileDetect $mobile_detect = NULL; public $mode = NULL; public $container = NULL; public $virtualTotalTaxExcluded = 0; public $virtualTotalTaxIncluded = 0; protected $translator = class PrestaShopBundle\Translation\TranslatorComponent { ... }; protected $priceComputingPrecision = NULL; protected ?bool $mobile_device = NULL; protected ?bool $is_mobile = NULL; protected ?bool $is_tablet = NULL }; protected $smarty = class Smarty_Data { public $_objType = 4; public $template_class = 'Smarty_Internal_Template'; public $tpl_vars = [...]; public $parent = class SmartyDev { ... }; public $config_vars = [...]; public $ext = class Smarty_Internal_Extension_Handler { ... }; public $dataObjectName = 'Data_object 1'; public $smarty = class SmartyDev { ... } }; protected $current_subtemplate = NULL; protected $tabs = []; private ${ModuleCore}container = NULL; public $multistoreCompatibility = 0; public $is_16 = FALSE; public $is_17 = TRUE; public $moduleTabs = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...]]; public $secure_key = '' }, $method = 'hookModuleRoutes', $params = ['id_shop' => 1, 'cookie' => class Cookie { protected $_content = [...]; protected $_name = 'PrestaShop-d39490375a1907390e1203ee9c41ee1d'; protected $_expire = 0; protected $_domain = 'www.bodyone.fr'; protected $_sameSite = FALSE; protected $_path = '/'; protected $cipherTool = class PhpEncryption { ... }; protected $_modified = FALSE; protected $_allow_writing = TRUE; protected $_salt = '6CxmBHXG'; protected $_standalone = FALSE; protected $_secure = TRUE; protected $session = NULL }, 'cart' => NULL, 'altern' => 1] ).../Hook.php:454
80.11898138744ph_simpleblog->hookModuleRoutes( $params = ['id_shop' => 1, 'cookie' => class Cookie { protected $_content = [...]; protected $_name = 'PrestaShop-d39490375a1907390e1203ee9c41ee1d'; protected $_expire = 0; protected $_domain = 'www.bodyone.fr'; protected $_sameSite = FALSE; protected $_path = '/'; protected $cipherTool = class PhpEncryption { ... }; protected $_modified = FALSE; protected $_allow_writing = TRUE; protected $_salt = '6CxmBHXG'; protected $_standalone = FALSE; protected $_secure = TRUE; protected $session = NULL }, 'cart' => NULL, 'altern' => 1] ).../Hook.php:1237