• Resolved jamminjames

    (@jamminjames)


    I can’t seem to save any shortcode, even the simplest ([wordpress_file_upload]), without breaking the page I’m trying to save it on. After saving the page, WordPress returns a blank page, and on the front end, it’s just the site header, the rest is blank. Removing the shortcode brings the page back to functionality.

    If I try using the Uploader Instances feature to add a shortcode, I get a “Failed to update the shortcode because the contents of the page changed. Go back to reload the shortcode” error.

    • This topic was modified 6 years, 2 months ago by jamminjames.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, apparently there is an incompatibility with the theme, or another plugin.

    Do you know how to enable debug mode on your website? it will reveal some information about the problem.

    Regards

    Nickolas

    Thread Starter jamminjames

    (@jamminjames)

    Debug showed these items:

    Notice: The called constructor method for WP_Widget in textlinkads_Widget is deprecated since version 4.3.0! Use
    
    __construct()
    
    instead. in /var/www/humortimes/wp-includes/functions.php on line 3916
    
    Notice: The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is deprecated since version 0.8.3! Use
    
    __construct()
    
    instead. in /var/www/humortimes/wp-includes/functions.php on line 3916
    
    Fatal error: Cannot declare class MatthiasMullie\Minify\Minify, because the name is already in use in /var/www/humortimes/wp-content/plugins/wp-file-upload/vendor/minifier/minify/src/Minify.php on line 26

    Using Debug bar showed some more detail:

        NOTICE: wp-includes/functions.php:3916 - The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is deprecated since version 0.8.3! Use __construct() instead.
        require_once('wp-admin/admin.php'), do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, _wp_admin_bar_init, WP_Admin_Bar->initialize, do_action('admin_bar_init'), WP_Hook->do_action, WP_Hook->apply_filters, Debug_Bar->init, Debug_Bar->init_panels, apply_filters('debug_bar_panels'), WP_Hook->apply_filters, PucDebugBarPlugin->addDebugBarPanel, PluginUpdateCheckerPanel->__construct, Debug_Bar_Panel->Debug_Bar_Panel, _deprecated_constructor, trigger_error
    	
        NOTICE: wp-content/plugins/popup-builder/com/classes/Style.php:20 - Trying to get property of non-object
        require_once('wp-admin/admin-header.php'), do_action('admin_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, sgpb\Style::enqueueStyles
    	
        NOTICE: wp-content/plugins/popup-builder/com/classes/Javascript.php:20 - Trying to get property of non-object
        require_once('wp-admin/admin-header.php'), do_action('admin_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, sgpb\Javascript::enqueueScripts

    I tried deactivating textlinkads and popup-builder, but that didn’t help.

    How can I figure out what else is using MatthiasMullie\Minify\Minify, or make it so both your plugin and the other can use it?

    Plugin Author nickboss

    (@nickboss)

    One way is to start deactivating the plugins one by one until you do not see this error.

    What other plugin do not have active?

    Nickolas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Inserting shortcode breaks page’ is closed to new replies.