I am trying to: edit a page in block editor
Link to a page where the issue can be seen: private site
I expected to see: no AJAX errors
Instead, I got:
{
"type": "warning",
"message": "array_key_exists() expects parameter 2 to be array, bool given",
"file": "wp-content/plugins/wp-views.git/embedded/inc/wpv-shortcodes.php",
"line": 3225,
"stack": [
"array_key_exists()",
"wpv_attribute()",
"do_shortcode_tag()",
"preg_replace_callback()",
"do_shortcode()",
"wpv_parse_content_shortcodes()",
"wpv_resolve_internal_shortcodes()",
"WPV_Frontend_Render_Filters::pre_process_shortcodes()",
"apply_filters('the_content')",
"WP_REST_Posts_Controller->prepare_item_for_response()",
"WP_REST_Posts_Controller->get_item()",
"WP_REST_Server->dispatch()",
"WP_REST_Server->serve_request()",
"rest_api_loaded()",
"do_action_ref_array('parse_request')",
"WP->parse_request()",
"WP->main()",
"wp()"
],
"component": "Plugin: wp-views.git"
}
Page content:
<!-- wp:heading {"level":3,"className":"no-anchor"} -->
<h3 class="no-anchor">Personal All-Access</h3>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><strong><strong>[add_to_cart_price sku="PERSONAL-ALL-ACCESS-1MO"]</strong></strong><strong><strong style="font-weight: bold;"></strong></strong><br><small> </small></p>
<!-- /wp:paragraph -->
<!-- wp:list {"className":"benefits"} -->
<ul class="benefits"><li>Includes <strong>all 4 minidegrees</strong>.</li><li>Access to <strong>50+ expert courses</strong>.</li><li>Learning roadmapping and progress tracking.</li><li>Single user only.</li><li>Save <strong>$198 / yr</strong> with <a style="cursor: pointer;" onclick="javascript:jQuery('.gform_checkout .gfield_billing_plans input[value=annual] + label').click();">Annual</a>.</li></ul>
<!-- /wp:list -->