Site logo

Archived topic

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

3 replies · Started by Sascha on August 30, 2022

Viewing posts 1–4 of 4

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

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 :)

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 ☀️

I'm not sure I'm a fan, either. Will discuss it with the team :)

Thanks!

This archived topic is closed to new replies.