• Resolved ACEkin

    (@acekin)


    On a client site I installed a new plugin which required some CSS tweaking. I had custom CSS, so I added a few more lines. But when I clicked on Save Stylesheet I get a blank page with a message that says “Are you sure you want to do this?” and there is no confirmation button. It seems to “sometimes” save despite the error but I am not sure what the working condition is.

    On the browser tab I see “WordPress Failure Notice” and the URL is:

    http: // www. allygloballogistics .com/ wp-admin/ themes.php?page=editcss

    Cemal

    • This topic was modified 8 years, 6 months ago by ACEkin.
    • This topic was modified 8 years, 6 months ago by ACEkin.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    That’s odd. Sorry for the trouble!

    Could you add the following to your site’s wp-config.php file?

    
    define('WP_DEBUG', true);
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define('WP_DEBUG_DISPLAY', false);
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }
    

    Once you’ve done so, try to trigger the error again, and then check the wp-content/debug.log file for errors. You can paste the results here. You can then replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Thanks!

    Thread Starter ACEkin

    (@acekin)

    Here is the line in the log file:

    [07-Sep-2016 14:50:58 UTC] PHP Notice: Undefined property: stdClass::$theme in /home/a11y6lobal/public_html/wp-admin/includes/class-wp-upgrader.php on line 2950

    Cemal

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    That error doesn’t seem related to Jetpack. Could you try to switch to one of the default themes, like Twenty Fifteen, for a few minutes?

    If that doesn’t help, could you try to deactivate each one of your plugins, one at a time, and let me know if you find a conflicting plugin?

    Thread Starter ACEkin

    (@acekin)

    Jeremy, this is a live site. Switching the theme and reconfiguring the current one will be too time consuming unless there is an easy way to do that. I can try disabling some plugins and see if that helps. I suspected at first Wordfence and disabled it when I first experienced the problem but that did not make a difference.

    Is it possible that the file in question may be corrupt? They have not upgraded to the latest WordPress either.

    I will play with the plugins and report back.

    Cemal

    Thread Starter ACEkin

    (@acekin)

    Success! I have identified the plugin that triggers the error. I will write to them to inquire. It is called Multilanguage Pro by BestWebSoft to handle displaying content in different languages.

    Thanks for the pointer, I will mark this thread resolved as far as JetPack is concerned.

    Cemal

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit CSS save error’ is closed to new replies.