• Resolved currix

    (@currix)


    When the plugin is active I cannot change any of the images I have using WPBakery Page Builder 6.10.0 and Shortcoder 6.1.

    This is the error message that is generated when it is active and I edit the images:

    [28-Jan-2023 20:01:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in [hidepath]/wp-content/plugins/shortcoder/admin/tools.php:108
    Stack trace:

    0 [hidepath]/wp-content/plugins/shortcoder/admin/tools.php(74): SC_Admin_Tools::is_sc_edit_page()

    1 [hidepath]/wp-includes/class-wp-hook.php(308): SC_Admin_Tools::enqueue_insert_scripts(Array)

    2 [hidepath]/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)

    3 [hidepath]/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    4 [hidepath]/wp-includes/class-wp-editor.php(887): do_action(‘wp_enqueue_edit…’, Array)

    5 [hidepath]/wp-includes/class-wp-editor.php(904): _WP_Editors::enqueue_scripts(true)

    6 [hidepath]/wp-includes/general-template.php(3829): _WP_Editors::enqueue_default_editor()

    7 [hidepath]/wp-content/themes/thegem/inc/theme-options/theme-options.php(1180): wp_enqueue_editor()

    8 [hidepath]/wp-content/themes/thegem/inc/ in [hidepath]/wp-content/plugins/shortcoder/admin/tools.php on line 108

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @currix,

    Can you please paste below code and see if issue is resolved?

    1. deactivate shortcoder plugin

    2) In tools – plugin editor – select “shortcoder/admin/tools.php” and insert below code at line 107 and save the file.

    require_once(ABSPATH . 'wp-admin/includes/screen.php');

    3) activate the plugin and check if issue is resolved.

    Thanks,

    Aakash

    Thread Starter currix

    (@currix)

    Thank you very much, it is perfectly solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incompatibility that does not allow me to change images using WPBakery Page Buil’ is closed to new replies.