PrestaShopDatabaseException]
Unknown character set: 'utf8mb4'
/*!40101 SET NAMES utf8mb4 */
at line 765 in file classes/db/Db.php
760. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
761. }
762. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
763. {
764. if ($sql)
765. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
766.
767. throw new PrestaShopDatabaseException($this->getMsgError());
768. }
769. }
770.
DbCore->displayError - [line 418 - classes/db/Db.php] - [1 Arguments]
Argument [0]
/*!40101 SET NAMES utf8mb4 */
DbCore->query - [line 578 - classes/db/Db.php] - [1 Arguments]
Argument [0]
/*!40101 SET NAMES utf8mb4 */
DbCore->execute - [line 146 - modules/bafacebookstore/bafacebookstore.php] - [1 Arguments]
141. return false;
142. }
143. $create_table = str_replace(array('PREFIX_'), array(_DB_PREFIX_), $create_table);
144. $create_table = preg_split("/;\s*[\r\n]+/", trim($create_table));
145. foreach ($create_table as $query) {
146. if (!Db::getInstance()->execute(trim($query))) {
147. return false;
148. }
149. }
150.
151. //////////////////////////////////////////////////
BAFacebookStore->install - [line 532 - controllers/admin/AdminModulesController.php]
527. } else {
528. $this->errors[] = Tools::displayError('Cannot reset this module.');
529. }
530. } else {
531. if ($module->uninstall()) {
532. if ($module->install()) {
533. Tools::redirectAdmin(self::$currentIndex.'&conf=21&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name.'&anchor='.ucfirst($module->name));
534. } else {
535. $this->errors[] = Tools::displayError('Cannot install this module.');
536. }
537. } else {
AdminModulesControllerCore->postProcessReset - [line 1108 - controllers/admin/AdminModulesController.php]
1103. $post_process_methods_list = array_merge((array)$filter_methods, (array)$callback_methods);
1104. foreach ($post_process_methods_list as $ppm) {
1105. if (Tools::isSubmit($ppm)) {
1106. $ppm = 'postProcess'.ucfirst($ppm);
1107. if (method_exists($this, $ppm)) {
1108. $ppm_return = $this->$ppm();
1109. }
1110. }
1111. }
1112.
1113. // Call appropriate module callback
AdminModulesControllerCore->postProcess - [line 171 - classes/controller/Controller.php]
166. // setMedia MUST be called before postProcess
167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
168. $this->setMedia();
169.
170. // postProcess handles ajaxProcess
171. $this->postProcess();
172.
173. if (!empty($this->redirect_after))
174. $this->redirect();
175.
176. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
ControllerCore->run - [line 343 - override/classes/Dispatcher.php]
338. try
339. {
340. $controller = Controller::getController($controller_class);
341. if (isset($params_hook_action_dispatcher))
342. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
343. $controller->run();
344. if ($this->_isPageCacheActive())
345. {
346. PageCache::displayStats(false, $pre_display_html);
347. }
348. }
Dispatcher->dispatch_16 - [line 111 - override/classes/Dispatcher.php]
106. * date: 2018-01-03 19:22:14
107. * version: 3.17
108. */
109. public function dispatch() {
110. if (Tools::version_compare(_PS_VERSION_,'1.6','>')) {
111. $this->dispatch_16();
112. } else {
113. $this->dispatch_15();
114. }
115. }
116. /*
Dispatcher->dispatch - [line 54 - admin/index.php]
49. $_POST['controller'] = strtolower($_POST['tab']);
50. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
51. $_REQUEST['controller'] = strtolower($_REQUEST['tab']);
52.
53. // Prepare and trigger admin dispatcher
54. Dispatcher::getInstance()->dispatch();