• I’m getting the following notice when I enable the plugin and navigate to my site’s admin page.
    Notice: trying to get property of non-object in /var/www/wp-content/plugins/mobile-css/mc-includes/mc.functions.php on line 159

    This is fixable by editing mc.functions.php

    function MC_styles() {

    // get post
    global $post;
    +
    + if(!$post)
    + return;
    +
    // if we’re viewing mc_rule post type
    if ( ‘mc_rule’ == $post->post_type ) {

    https://ww.wp.xz.cn/plugins/mobile-css/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘PHP notice issues within wordpress admin page’ is closed to new replies.