• On editor page save this appears:

    Fatal error: Uncaught Error: Call to a member function get_downloadable_products() on null
    in /home/xxxxxxxxxxx/public_html/wp-content/plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php on line 69

    Call stack:

    Woocommerce_My_Downloads::my_downloads_shortcode()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/text-block/views/view.php:46
    require()
    wp-content/plugins/unyson/framework/helpers/general.php:745
    fw_render_view()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
    FW_Shortcode::_render()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
    FW_Shortcode::render()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/column/views/view.php:145
    require()
    wp-content/plugins/unyson/framework/helpers/general.php:745
    fw_render_view()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
    FW_Shortcode::_render()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
    FW_Shortcode::render()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/row/views/view.php:5
    require()
    wp-content/plugins/unyson/framework/helpers/general.php:745
    fw_render_view()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
    FW_Shortcode::_render()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
    FW_Shortcode::render()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-content/themes/the-core-parent/framework-customizations/extensions/shortcodes/shortcodes/section/views/view.php:334
    require()
    wp-content/plugins/unyson/framework/helpers/general.php:745
    fw_render_view()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:226
    FW_Shortcode::_render()
    wp-content/plugins/unyson/framework/extensions/shortcodes/includes/class-fw-shortcode.php:191
    FW_Shortcode::render()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-content/plugins/unyson/framework/extensions/shortcodes/extensions/page-builder/class-fw-extension-page-builder.php:216
    FW_Extension_Page_Builder::_action_fw_post_options_update()
    wp-includes/class-wp-hook.php:290
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:312
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-content/plugins/unyson/framework/helpers/database.php:212
    FW_Db_Options_Model_Post::_after_set()
    wp-content/plugins/unyson/framework/helpers/class-fw-db-options-model.php:328
    FW_Db_Options_Model::set()
    wp-content/plugins/unyson/framework/helpers/database.php:239
    fw_set_db_post_option()
    wp-content/plugins/unyson/framework/core/components/backend.php:865
    _FW_Component_Backend::_action_save_post()
    wp-includes/class-wp-hook.php:288
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:312
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-includes/post.php:4129
    wp_insert_post()
    wp-includes/post.php:4206
    wp_update_post()
    wp-admin/includes/post.php:407
    edit_post()
    wp-admin/post.php:219
    Query Monitor

    • This topic was modified 4 years, 5 months ago by isaaa.
Viewing 1 replies (of 1 total)
  • Can you try one item for me, if you open up /plugins/woocommerce-my-downloads-shortcode/woocommerce-my-downloads.php

    And then search for public static function my_downloads_shortcode Line:53

    Can you replace the first line that is if ( is_user_logged_in() ) { and replace it with if ( is_user_logged_in() & ! is_admin() ) { and see if that corrects the issue. If it does then I will push out a patch update.

Viewing 1 replies (of 1 total)
  • The topic ‘Error on page save’ is closed to new replies.