This topic contains 7 replies, has 2 voices, and was last updated by  Myles 6 years, 7 months ago.

  • Author
    Posts
  • #14350 Reply

    Myles

    Hello,

    I am running the pro version of this plugin. I like it a lot, except that there seems to be a bug that breaks the WordPress customizer. With the plugin activated, when I go to appearance -> customize, I get the following error:

    Fatal error: Uncaught Error: Call to a member function wp_rewrite_rules() on null in C:\xampp\htdocs\wp-includes\rewrite.php:510 Stack trace: #0 C:\xampp\htdocs\wp-content\plugins\digitalsignagepress\includes\ds_theme_switch.php(24): url_to_postid(‘http://localhos…’) #1 C:\xampp\htdocs\wp-content\plugins\digitalsignagepress\includes\ds_theme_switch.php(6): DS_theme_hook(‘stylesheet’) #2 C:\xampp\htdocs\wp-includes\class-wp-hook.php(300): DS_theme_hook_style(false) #3 C:\xampp\htdocs\wp-includes\plugin.php(203): WP_Hook->apply_filters(false, Array) #4 C:\xampp\htdocs\wp-includes\option.php(52): apply_filters(‘pre_option_styl…’, false, ‘stylesheet’) #5 C:\xampp\htdocs\wp-includes\theme.php(160): get_option(‘stylesheet’) #6 C:\xampp\htdocs\wp-includes\class-wp-customize-manager.php(267): get_stylesheet() #7 C:\xampp\htdocs\wp-includes\theme.php(2824): WP_Customize_Manager->__construct(Array) #8 C:\xampp\htdocs\wp-includes\class-wp-hook.php(298): _wp_customize_include(”) #9 C:\xampp\htdocs\wp-includes\class-wp-hook.php(3 in C:\xampp\htdocs\wp-includes\rewrite.php on line 510

    When I deactivate the plugin and return to appearance -> customize, it works as expected. It seems to be a problem with this plugin. I am developing a theme alongside this plugin so I would really like them to be able to work together. Please, do you have any solution for this?

    Thanks!

  • #14351 Reply

    Admin
    Keymaster

    What version of our plugin are you using?

    The signage plugin changes the theme for the signage pages (those that have the [digitalsignage] shortcode and are useable with signage) to our own blank theme so there’s little point in running it with any theme modifying plugins.

  • #14358 Reply

    Myles

    I’m using the latest version. I just downloaded it from code canyon last week.

    I know that your plugin uses its own theme files and that’s fine, but the application I’m building involves department managers logging onto the website and updating business numbers which then get automatically updated on digital signs throughout the plant. So it’s still important that my own theme works alongside your plugin. I’m not using any theme modifying plugin, just the built in WordPress customizer.

    For a premium priced plugin such as this, I think it’s reasonable to expect it to work with stock WordPress features without giving errors.

  • #14366 Reply

    Admin
    Keymaster

    That should be fixed with the next version.
    Envato needs to approve the update first which may take a day or two.

  • #14438 Reply

    Myles

    Great, I downloaded the update and I’ll test it out when I get to work. Thanks so much for your help on this!

  • #14541 Reply

    Myles

    Confirmed! The patch seems to work fine. No more errors. Thanks so much for your support! I really appreciate it.

  • #14554 Reply

    Myles

    Uh oh, I ran into a problem with the new version… It worked fine when I tested it on my laptop, but when I copied the new version to our server, it now seems to only use the digitalsignagepress theme no matter what theme is activated. Every page shows just the plain page contents with no theme items. It used to let me use the active theme on every page other than the digital signage page. Can this be fixed?

    My laptop has PHP 4.1.9 but our server has PHP 4.0.19-1

  • #14558 Reply

    Myles

    Update:

    The customizer works fine now but I discovered another bug new in version 1.5.0 so I will make a separate thread for it.

    Thanks again for your continued work on this plugin

Reply To: Plugin breaks customizer when active
Your information:




40 + = 47