Theme customizer settings export/import error
-
Hi, I try to export-import the parent theme settings to child theme but it throws a Notice (if DEBUG_LOG set to DISPLAY):
Notice: Trying to access array offset on value of type bool in …/wwwroot/dew/wp-content/plugins/ocean-extra/includes/panel/import-export.php on line 181
i checked, this is that 181 line:
// Import data
self::import_data( $data[‘mods’] );and here is the .dat file (how does this syntax officially called? i can’t find info on it, so i couldn’t even prettify it..) Is that a specific form of json?
a:3:{s:4:"mods";a:20:{i:0;b:0;s:18:"nav_menu_locations";a:4:{s:9:"main_menu";i:2;s:11:"topbar_menu";N;s:11:"footer_menu";i:28;s:11:"mobile_menu";i:2;}s:18:"custom_css_post_id";i:-1;s:16:"header_textcolor";s:5:"blank";s:19:"ocean_primary_color";s:7:"#5fc3c6";s:22:"ocean_background_color";s:7:"#1e1e1e";s:17:"ocean_links_color";s:7:"#5fc3c6";s:25:"ocean_hover_primary_color";s:7:"#f40e6a";s:23:"ocean_links_color_hover";s:7:"#00c0c6";s:22:"ocean_scroll_top_arrow";s:16:"double_arrows_up";s:30:"ocean_has_header_border_bottom";b:0;s:23:"ocean_header_background";s:19:"rgba(255,255,255,0)";s:13:"ocean_top_bar";b:0;s:11:"custom_logo";i:884;s:30:"ocean_dropdown_menu_background";s:7:"#2d2d2d";s:28:"ocean_page_header_visibility";s:11:"all-devices";s:23:"ocean_page_header_style";s:6:"hidden";s:16:"sidebars_widgets";a:2:{s:4:"time";i:1648911422;s:4:"data";a:9:{s:19:"wp_inactive_widgets";a:2:{i:0;s:6:"text-2";i:1;s:6:"text-3";}s:11:"woo_sidebar";a:6:{i:0;s:8:"search-2";i:1;s:14:"recent-posts-2";i:2;s:17:"recent-comments-2";i:3;s:10:"archives-2";i:4;s:12:"categories-2";i:5;s:6:"meta-2";}s:7:"sidebar";a:1:{i:0;s:13:"custom_html-2";}s:9:"sidebar-2";a:0:{}s:14:"search_sidebar";a:0:{}s:10:"footer-one";a:0:{}s:10:"footer-two";a:0:{}s:12:"footer-three";a:0:{}s:11:"footer-four";a:0:{}}}s:24:"ocean_page_single_layout";s:10:"full-width";s:19:"ocean_search_layout";s:10:"full-width";}s:7:"options";a:19:{i:0;b:0;s:18:"nav_menu_locations";a:4:{s:9:"main_menu";i:2;s:11:"topbar_menu";N;s:11:"footer_menu";i:28;s:11:"mobile_menu";i:2;}s:18:"custom_css_post_id";i:-1;s:16:"header_textcolor";s:5:"blank";s:19:"ocean_primary_color";s:7:"#5fc3c6";s:22:"ocean_background_color";s:7:"#1e1e1e";s:17:"ocean_links_color";s:7:"#5fc3c6";s:25:"ocean_hover_primary_color";s:7:"#f40e6a";s:23:"ocean_links_color_hover";s:7:"#00c0c6";s:22:"ocean_scroll_top_arrow";s:16:"double_arrows_up";s:30:"ocean_has_header_border_bottom";b:0;s:23:"ocean_header_background";s:19:"rgba(255,255,255,0)";s:13:"ocean_top_bar";b:0;s:11:"custom_logo";i:884;s:30:"ocean_dropdown_menu_background";s:7:"#2d2d2d";s:28:"ocean_page_header_visibility";s:11:"all-devices";s:23:"ocean_page_header_style";s:6:"hidden";s:24:"ocean_page_single_layout";s:10:"full-width";s:19:"ocean_search_layout";s:10:"full-width";}s:6:"wp_css";s:0:"";}
What is the problem? Any idea?
Thank you!- This topic was modified 2 years, 11 months ago by .
- This topic was modified 2 years, 11 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Theme customizer settings export/import error’ is closed to new replies.