Po aktualizacji modułu Witaj (z v6.0.0 do v6.0.2) Presta (1.7.6.8) multisklep, wyrzuca błąd 500 i niejako dostęp do jej panelu jest możliwy tylko w trybie debugowania.
Quote
Unknown error w linii 277 w pliku ../modules/welcome/OnBoarding/Configuration.php
[4096] Argument 2 passed to OnBoarding\Configuration::generateSfBaseUrl() must be an instance of OnBoarding\string, string given, called in ../modules/welcome/OnBoarding/Configuration.php on line 50 and defined
Unknown error w linii 277 w pliku ../modules/welcome/OnBoarding/Configuration.php
[4096] Argument 2 passed to OnBoarding\Configuration::generateSfBaseUrl() must be an instance of OnBoarding\string, string given, called in ../modules/welcome/OnBoarding/Configuration.php on line 124 and defined
Unknown error w linii 277 w pliku ../modules/welcome/OnBoarding/Configuration.php
[4096] Argument 2 passed to OnBoarding\Configuration::generateSfBaseUrl() must be an instance of OnBoarding\string, string given, called in ../modules/welcome/OnBoarding/Configuration.php on line 258 and defined
Proszę o pomoc, jak to naprawić. To pierwszy błąd po aktualizacji modułu. Na chwilę obecną przywróciłem backup z przed aktualizacji, ale wolałbym wiedzieć jak to naprawić.
Configuration.php linia 48-56
Quote
public function getConfiguration(Router $router)
{
$contextLink = \Context::getContext()->link;
[
'type' => 'tooltip',
'text' => $this->translator->trans('How much do you want to sell it for?', [], 'Modules.Welcome.Admin'),
'page' => $productFormUrlPattern,
'selector' => '.right-column > .row > .col-md-12 > .form-group:nth-child(4) > .row > .col-md-6:first-child > .input-group',
'position' => 'left',
'action' => [
'selector' => '#product_form_save_go_to_catalog_btn',
'action' => 'click',
],
],
Configuration.php linia 239-269
Quote
$moduleSteps = [
'title' => $this->translator->trans('Improve your shop with modules', [], 'Modules.Welcome.Admin'),
'subtitle' => [
'1' => $this->translator->trans('Add new features and manage existing ones thanks to modules.', [], 'Modules.Welcome.Admin'),
'2' => $this->translator->trans('Some modules are already pre-installed, others may be free or paid modules - browse our selection and find out what is available!', [], 'Modules.Welcome.Admin'),
],
'steps' => [
[
'type' => 'tooltip',
'text' => $this->translator->trans('Discover our module selection in the first tab. Manage your modules on the second one and be aware of notifications in the third tab.', [], 'Modules.Welcome.Admin'),
'options' => [
'savepoint',
],
'page' => $router->generate('admin_module_catalog'),
'selector' => '.page-head-tabs .tab:eq(0)',
'position' => 'right',
],
[
'type' => 'popup',
'text' => [
'type' => 'template',
'src' => 'end',
],
'options' => [
'savepoint',
'hideFooter',
],
'page' => $this->generateSfBaseUrl($router, 'admin_module_catalog'),
],
],
];
Configuration.php linia 277 to komentarz
Quote
* here we replace the route specific parameters with wildcard to allow regexp matching
zaraz po zakończeniu public function getConfiguration(Router $router)
Question
Reey621
Po aktualizacji modułu Witaj (z v6.0.0 do v6.0.2) Presta (1.7.6.8) multisklep, wyrzuca błąd 500 i niejako dostęp do jej panelu jest możliwy tylko w trybie debugowania.
Proszę o pomoc, jak to naprawić. To pierwszy błąd po aktualizacji modułu. Na chwilę obecną przywróciłem backup z przed aktualizacji, ale wolałbym wiedzieć jak to naprawić.
Configuration.php linia 48-56
Configuration.php linia 117-127
Configuration.php linia 239-269
Configuration.php linia 277 to komentarz
zaraz po zakończeniu public function getConfiguration(Router $router)
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now