• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 01.01.18, 05:46
  • Opened by: 901it com
  • Closed by: Marek
  • Closed on: 05.02.18, 13:45
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11347 - failed to enter into maintenance mode

Whoops, looks like something went wrong.
1/1 ContextErrorException in pk_themesettings.php line 1237: Notice: Undefined offset: 1

  in pk_themesettings.php line 1237
  at ErrorHandler->handleError('8', 'Undefined offset: 1', '/opt/bitnami/apps/prestashop/htdocs/modules/pk_themesettings/pk_themesettings.php', '1237', array('params' => array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1'), 'theme_settings' => array('preset' => 'classic', 'tab_number' => '4', 'pattern' => '0', 'page_width' => '1500', 'toTop' => '1', 'gs_body_typography' => array('font_size' => '16', 'line_height' => '1.5', 'letter_spacing' => '0', 'color' => '#777777', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'gs_titles_font' => 'Archivo Narrow', 'gs_cookie_message' => '0', 'gs_sticky_menu' => '0', 'gs_lazy_load' => '0', 'gs_google_api_key' => '', 'latin_ext' => '0', 'button_typography' => array('font_size' => '12', 'line_height' => '1', 'letter_spacing' => '0.1', 'color' => '#ffffff', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'button_color' => '#313537', 'button_border_color' => '#313537', 'button_color_hover' => 'transparent', 'button_text_color_hover' => '#444444', 'button_border_color_hover' => '#313537', 'cyrillic' => '0', 'header_type' => '2', 'header_position' => 'header_static', 'logo_position' => 'logo-left', 'logo_type' => 'text', 'logo_text' => 'ANZ Wines', 'logo_typography' => array('font_size' => '38', 'line_height' => '1', 'letter_spacing' => '0.1', 'color' => '#1f2223', 'font_style' => 'normal', 'font_weight' => '600', 'font_family' => 'Abhaya Libre', 'text_transform' => 'none'), 'menu_bar_height' => '44', 'menu_background' => '#313537', 'menu_typography' => array('font_size' => '13', 'line_height' => '1', 'letter_spacing' => '0.1', 'color' => '#fff', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'submenu_typography' => array('font_size' => '13', 'line_height' => '1', 'letter_spacing' => '0.04', 'color' => '#606060', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'top_bar' => '1', 'top_bar_background' => 'transparent', 'top_bar_short_message' => '', 'top_bar_height' => '30', 'top_bar_text' => array('font_size' => '13', 'line_height' => '1', 'letter_spacing' => '0.04', 'color' => '#8a8a8a', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'middle_bar_height' => '90', 'hdr_middle_bar_background' => 'transparent', 'hdr_search_bar_background' => '#ffffff', 'hdr_search_bar_border' => '#f2f2f2', 'middle_bar_typography' => array('font_size' => '13', 'line_height' => '1', 'letter_spacing' => '0.06', 'color' => '#5e5e5e', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'cp_listing_view' => 'grid', 'cp_category_preview' => '1', 'cp_category_description' => '1', 'cp_only_filter' => '0', 'cp_collapse_filter' => '0', 'cp_columns_number' => 'product-grid-3', 'footer_main_font' => array('font_size' => '13', 'line_height' => '1.5', 'letter_spacing' => '0.06', 'color' => '#bdbdbd', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'footer_main_title' => array('font_size' => '14', 'line_height' => '1', 'letter_spacing' => '0.15', 'color' => '#e5e5e5', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'footer_main_link_color' => '#bdbdbd', 'footer_main_background' => '#323232', 'footer_bottom' => '1', 'footer_bottom_background' => '#343434', 'footer_bottom_height' => '80', 'footer_bottom_font' => array('font_size' => '13', 'line_height' => '1', 'letter_spacing' => '0', 'color' => '#7e7e7e', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'footer_bottom_text' => 'Copyright © 2017 - ANZ Wines', 'footer_bottom_align' => 'flex-start', 'footer_bottom_social' => '1', 'footer_bottom_pcards' => '0', 'homepage_layout' => 'layout-left-column', 'homepage_module_title' => array('font_size' => '18', 'line_height' => '1', 'letter_spacing' => '0.1', 'color' => '#444444', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'pm_qw_button' => '1', 'pm_colors' => '0', 'pm_labels' => '1', 'pm_countdown' => '1', 'pm_hover_image' => '1', 'pm_title' => '1', 'pm_button_color' => '#313537', 'pm_button_color_hover' => '#313537', 'pm_title_multiline' => '1', 'pm_stars' => '1', 'pm_stars_color' => '#eeeeee', 'pm_stars_color_active' => '#afafaf', 'pm_title_typography' => array('font_size' => '15', 'line_height' => '1.267', 'letter_spacing' => '0', 'color' => '#5e5e5e', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'pm_brand' => '1', 'pm_brand_typography' => array('font_size' => '12', 'line_height' => '1', 'letter_spacing' => '0.12', 'color' => '#bcbcbc', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'uppercase'), 'pm_desc' => '0', 'pm_desc_typography' => array('font_size' => '13', 'line_height' => '1.2', 'letter_spacing' => '0', 'color' => '#666666', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'none'), 'pm_price' => '1', 'pm_price_typography' => array('font_size' => '18', 'line_height' => '1.2', 'letter_spacing' => '0', 'color' => '#333333', 'font_style' => 'italic', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'none'), 'pm_old_price_typography' => array('font_size' => '16', 'line_height' => '1.2', 'letter_spacing' => '0', 'color' => '#bfbfbf', 'font_style' => 'italic', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'none'), 'pm_details_layout' => 'pm_details_layout2', 'pm_labels_color' => '#313537', 'pm_labels_typography' => array('font_size' => '12', 'line_height' => '1.5', 'letter_spacing' => '0.1', 'color' => '#ffffff', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Roboto', 'text_transform' => 'uppercase'), 'sb_title' => array('font_size' => '17', 'line_height' => '1.2', 'letter_spacing' => '0.08', 'color' => '#313537', 'font_style' => 'normal', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'sa_facebook' => '1', 'sa_facebook_link' => 'https://facebook.com/', 'sa_twitter' => '1', 'sa_twitter_link' => 'https://twitter.com/', 'sa_pinterest' => '1', 'sa_pinterest_link' => 'https://pinterest.com/', 'sa_linkedin' => '1', 'sa_linkedin_link' => 'https://linkedin.com/', 'sa_instagram' => '1', 'sa_instagram_link' => 'https://instagram.com/', 'sa_flickr' => '1', 'sa_flickr_link' => 'https://flickr.com/', 'sa_gplus' => '1', 'sa_gplus_link' => 'https://plus.google.com/', 'sa_youtube' => '0', 'sa_youtube_link' => 'https://youtube.com/', 'pay_visa' => '1', 'pay_am_exp' => '1', 'pay_mastercard' => '1', 'pay_paypal' => '1', 'pay_skrill' => '1', 'pay_maestro' => '1', 'pay_discover' => '1', 'pay_cirrus' => '0', 'pay_direct' => '0', 'pay_solo' => '0', 'pay_switch' => '0', 'pay_wu' => '0', 'pp_price' => array('font_size' => '22', 'line_height' => '1.2', 'letter_spacing' => '0', 'color' => '#333333', 'font_style' => 'italic', 'font_weight' => '400', 'font_family' => 'Archivo Narrow', 'text_transform' => 'uppercase'), 'pp_share' => '0', 'pp_countdown' => '1', 'pp_innnerzoom' => '0', 'cont_map_zoom_level' => '10', 'cont_map_custom_style' => '1', 'mt_maintenance' => '1', 'mt_countdown' => '1', 'mt_notify' => '1', 'mt_date_until' => '2018-02-12', 'versions' => '', 'preset_to_import' => '', 'dc_preset_to_import' => 'alysum', 'tab' => 'AdminModules'), 'cs' => array('status' => '0', 'day' => '2018-02-12'), 'date_array' => array('2018-02-12'))) in pk_themesettings.php line 1237
  at Pk_ThemeSettings->hookcomingsoon(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 895
  at HookCore::coreCallHook(object(Pk_ThemeSettings), 'hookcomingsoon', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 327
  at HookCore::callHookOn(object(Pk_ThemeSettings), 'comingsoon', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 843
  at HookCore::exec('comingsoon', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168
  at smartyHook(array('h' => 'comingsoon'), object(Smarty_Dev_Template))
  at call_user_func_array('smartyHook', array(array('h' => 'comingsoon'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83
  at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'comingsoon'), object(Smarty_Dev_Template))) in 8b14126f0dbc1c0367233bbb6bc808e8ac71a340.file.maintenance.tpl.php line 91
  at SmartyLazyRegister->smartyHook(array('h' => 'comingsoon'), object(Smarty_Dev_Template)) in 8b14126f0dbc1c0367233bbb6bc808e8ac71a340.file.maintenance.tpl.php line 91
  at content_5a49bae38cf0a7_33557553(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  at Smarty_Internal_TemplateBase->fetch('errors/maintenance.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false) in SmartyDev.php line 41
  at SmartyDev->fetch('errors/maintenance.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 671
  at FrontControllerCore->smartyOutputContent('errors/maintenance.tpl') in FrontController.php line 720
  at FrontControllerCore->displayMaintenancePage() in FrontController.php line 476
  at FrontControllerCore->init() in Controller.php line 186
  at ControllerCore->run() in Dispatcher.php line 379
  at DispatcherCore->dispatch() in index.php line 28

Comments

901it com 01 Jan 2018, 09:25

any update on this request please?

Marek 01 Jan 2018, 10:19

Do you seriously want to get a reply on 01 January at 05:46?
As for your question, try to reset the module

Marek 01 Jan 2018, 10:20

Ah, I see, you are from New Zealand :)
Happy New Year

901it com 01 Jan 2018, 10:24

Hi Marek,

Thanks in advance to reply the post. I wasn’t ware of your time zone. apologies!

In term of reset the module. Do you mean by Alysum Settings > reset settings?

Will this wipe everything?

Thanks,
Nick

Marek 01 Jan 2018, 10:26

Don’t worry, No problem with that.
Regarding reset, yes, it will wipe your settings. If it’s critical, I can try to fix it as is

901it com 01 Jan 2018, 10:29

It’s not critical. However, it would be great if I can keep all the settings. Would you be able to share the steps? I supposed I can do it by myself.

Marek 01 Jan 2018, 10:31

Unfortunately, it’s not possible to describe how to fix that, because I don’t know what is the reason.
I need access to your server through FTP to debug the issue

901it com 01 Jan 2018, 10:43

I got ‘Can not write to DB’ after click the reset button

Marek 01 Jan 2018, 10:45

Look like I need access to your server through FTP to fix that.
If it’s not really urgent, I would like to ask you to wait a couple of hours, I’ll back to home and solve the problem.

901it com 01 Jan 2018, 10:50

no worries. It seems the reset works. I have changed my ip again. so the info is not correct any more. I can live with it for now. If you can outline what you’d like to do for your troubleshooting, just share some concept on this sort of issue once you back home, it would be awesome.

Happy New Year!

Marek 01 Jan 2018, 10:51

Ok, that’s great! I check that and if I find a reason I’ll share the solution