Home › Forums › WoodMart support forum › Errors on wishlist page ( Array to string conversion in array_diff_assoc() ) › Reply To: Errors on wishlist page ( Array to string conversion in array_diff_assoc() )
April 8, 2024 at 10:18 am
#555599
Webznar
Participant
The site only has the plugins installed that the template installed when it was installed. Clean template. Access to the site I can not give it on a local computer.
This line gives an error
$encoded_atts = wp_json_encode( array_diff_assoc( $parsed_atts, woodmart_get_carousel_atts() ) );
Here’s the array $parsed_atts
Array
(
[carousel_id] => 5000
[speed] => 5000
[slides_per_view] => 3
[slides_per_view_tablet] => Array
(
[size] =>
)
[slides_per_view_mobile] => Array
(
[size] =>
)
[wrap] =>
[loop] =>
[autoplay] => no
[autoheight] => no
[hide_pagination_control] => no
[hide_pagination_control_tablet] => yes
[hide_pagination_control_mobile] => yes
[dynamic_pagination_control] =>
[hide_prev_next_buttons] =>
[carousel_arrows_position] =>
[hide_scrollbar] => yes
[hide_scrollbar_tablet] => yes
[hide_scrollbar_mobile] => yes
[scroll_per_page] => yes
[dragEndSpeed] => 200
[center_mode] => no
[custom_sizes] =>
[sliding_speed] =>
[animation] =>
[content_animation] =>
[post_type] => ids
[slider] =>
[library] =>
[css] =>
[effect] =>
[spacing] =>
[spacing_tablet] =>
[spacing_mobile] =>
[carousel_sync] =>
[sync_parent_id] =>
[sync_child_id] =>
[scroll_carousel_init] =>
[disable_overflow_carousel] =>
[element_title] =>
[layout] => grid
[include] => 128218
[custom_query] =>
[taxonomies] =>
[pagination] => links
[items_per_page] => 16
[product_hover] => inherit
[columns] => 3
[columns_tablet] => auto
[columns_mobile] => auto
[sale_countdown] => 0
[stretch_product_desktop] => 0
[stretch_product_tablet] => 0
[stretch_product_mobile] => 0
[stock_progress_bar] => 0
[highlighted_products] => 0
[products_bordered_grid] => 0
[products_bordered_grid_style] => outside
[products_with_background] => 1
[products_shadow] => 0
[products_color_scheme] => default
[product_quantity] => 0
[grid_gallery] =>
[grid_gallery_control] =>
[grid_gallery_enable_arrows] =>
[offset] =>
[orderby] =>
[query_type] => OR
[order] =>
[meta_key] =>
[exclude] =>
[class] =>
[ajax_page] =>
[img_size] => woocommerce_thumbnail
[force_not_ajax] => no
[products_masonry] => disable
[products_different_sizes] => disable
[lazy_loading] => no
[el_class] =>
[shop_tools] => no
[query_post_type] => Array
(
[0] => product
[1] => product_variation
)
[hide_out_of_stock] => no
[woodmart_css_id] =>
[ajax_recently_viewed] => no
[pagination_arrows_position] =>
[is_wishlist] => yes
[wrapper_classes] =>
)
Here’s the array “woodmart_get_carousel_atts()”
Array
(
[carousel_id] => 5000
[speed] => 5000
[slides_per_view] => 3
[slides_per_view_tablet] => Array
(
[size] =>
)
[slides_per_view_mobile] => Array
(
[size] =>
)
[wrap] =>
[loop] =>
[autoplay] => no
[autoheight] => no
[hide_pagination_control] => no
[hide_pagination_control_tablet] => yes
[hide_pagination_control_mobile] => yes
[dynamic_pagination_control] =>
[hide_prev_next_buttons] =>
[carousel_arrows_position] =>
[hide_scrollbar] => yes
[hide_scrollbar_tablet] => yes
[hide_scrollbar_mobile] => yes
[scroll_per_page] => yes
[dragEndSpeed] => 200
[center_mode] => no
[custom_sizes] =>
[sliding_speed] =>
[animation] =>
[content_animation] =>
[post_type] =>
[slider] =>
[library] =>
[css] =>
[effect] =>
[spacing] =>
[spacing_tablet] =>
[spacing_mobile] =>
[carousel_sync] =>
[sync_parent_id] =>
[sync_child_id] =>
[scroll_carousel_init] =>
[disable_overflow_carousel] =>
)