[Resolved] GB: After plugin activation > forced redirect in dashboard causes issues

Home Forums Support [Resolved] GB: After plugin activation > forced redirect in dashboard causes issues

Home Forums Support GB: After plugin activation > forced redirect in dashboard causes issues

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2328664
    Sascha

    Hey there,

    please, allow me to handle this request here, since I use both GPP & GBP and would like to keep all my support tickets here.

    I have noticed, whenever I activate the GB plugin, it will redirect the admin to the GB-dashboard.

    Sometimes this seems to corrupt other plugins from being updated properly. But it’s even worse on a site right now, where it’s causing a crash of the dashboard:

    After installation, I have activate it, and the redirect crashed the dashboard. Then, I have removed the plugin from wp-contents/plugins to wp-contents/plugins-parked, and the dashboard was loading fine again.

    After re-adding the plugin-folder back to wp-contents/plugins and opening domain/wp-admin, the dashboard crashed again the in the browser-address-field I could see the force-redirect to domain/wp-admin/admin.php?page=generateblocks
    while the dashboard went “blank”.

    Can you please just remove the force-redirect-after-activation of the GB-plugin?

    Kind regards,
    Sascha

    #2328844
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s strange – we aren’t aware of any issues like this with the redirection. Sounds like there could be some sort of plugin conflict going on.

    You can disable the redirect quite easily with a simple filter:

    add_filter( 'generateblocks_do_activation_redirect', '__return_false' );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know if that helps or not πŸ™‚

    #2337754
    Sascha

    Thanks Tom, I will add this to my default GP-Child-Theme.

    However, I’m not a fan, if plugins open up their dashboard right after being activated. I’d prefer them to display a “Settings” link, like on this example: http://media.macbay.net/_support/gb-plugin-dashboard_28CB33B1.png

    πŸ˜‰

    Anyways, thanks for providing such an outstanding support team, which has helped me here a lot whenever I needed πŸ™

    Have a lovely day β˜€οΈ

    #2339295
    Tom
    Lead Developer
    Lead Developer

    I’m not sure I’m a fan, either. Will discuss it with the team πŸ™‚

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.