• Resolved Fee

    (@wdfee)


    Hi,
    after updating to UAG 1.14.6 (with WP 5.3.2, PHP 7.3) admin screen is no more reachable:

    Fatal error: Uncaught Error: Call to a member function get_contents() on null in /[...]/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-helper.php on line 1365

    I already tried deactivating all other plugins and switching to twentynineteen theme, de- an reactivating UAG plugin, error still appears, admin screen not accessible.
    I tried this in my local dev environment with debug on.

    Could you please check this in your setup?

    Thanks, Fee

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Fee

    (@wdfee)

    My workaround for now in class-uagb-helper.php from line 1363:

    $wp_filesystem = UAGB_Helper::get_instance()->get_filesystem();
    if(!empty($uag_instance)):
       foreach ( $combined as $key => $c_block ) {
          $style .= $wp_filesystem->get_contents( plugin_dir_path( UAGB_FILE ) . 'assets/css/blocks/' . $c_block . '.css' );
       }
       $wp_filesystem->put_contents( $combined_path, $style, FS_CHMOD_FILE );
    endif;
    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey @wdfee ,

    Thank you for reaching us out.
    I will ask my team to look at it and try finding a fix for it.

    Thank you for reporting this.

    Regards,
    Vrunda Kansara

    Thread Starter Fee

    (@wdfee)

    Hi there, could you take a look into this issue? I tried updating to all updates, e.g. to 1.15.2 today, but I always have to roll back (to 1.14.3) because the issue is still there. With 1.15.2 it crashes not only the admin scree, but the complete website with error:

    Fatal error: Uncaught Error: Call to a member function get_contents() on null in /[…]/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-admin-helper.php on line 282

    • This reply was modified 4 years, 5 months ago by Fee.
    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey @wdfee ,

    Thank you for getting back to us.
    This does not happen ideally. Would you mind reaching us out from here? I would like to have a closer look at the issue.

    Looking forward to resolving your issue as soon as possible.

    Regards,
    Vrunda Kansara

    Thread Starter Fee

    (@wdfee)

    Hey Vrunda Kansara,

    thanks for your reply.
    The error happens in my local development environment (as I wrote in first post). I always check the updates there first. As I wrote, I had to roll back to version 1.14.3, so my live installation still runs with this version. So there’s no install where you could take a look at (because it’s on my local drive). Are there any other advantages for you by using the ticket form instead of here?
    So how can we step in there further?

    Regards, Fee

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @wdfee,

    We have tried to replicate the same at our end, but we’re not able to see any issue as you mentioned.

    It is hard to understand the issue without being able to look into that. You can do one thing, you can create another staging site with identical settings and share the credentials for that. This way we can debug things in the exactly same environment as your live site. Make sure you have latest version of UAG on your staging site. You can continue with your work on your live site with your old version. Just open a ticket from here, and share your details so that we can have a better look.

    Here is a video to help you create a staging site.

    I request you to please give us a chance to look into the matter and help you. ??
    ?
    Looking forward to resolving your issue asap.

    Regards,
    Sweta

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @wdfee ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘UAG crashes admin screen’ is closed to new replies.