Conflict with Redirection plugin and Grow for WordPress
AnsweredFor last couple days I can’t even navigate my own website. When I try to search for something the page won’t even load. This is losing me lots of page views and has to be fixed. Can u please check into it. I’ve cleared my cache etc to no avail.
-
Official comment
EDIT: The bug with the Redirection plugin has been resolved, so moving forward you can have this plugin enabled while also running the Journey ad script and ads.txt file through the Grow for WordPress plugin.
Thanks for this information, Debbye! This is a bug we're aware of with the Redirection plugin and that will be resolved in the next Grow for WordPress release. We don't know exactly when that will be released, but it should hopefully be out sometime this week. If it's causing issues on your site though and you don't want to disable the Redirection plugin, you can disable the Grow for WordPress plugin and manually install the ad script following these instructions and the ads.txt file following these instructions in the meantime.
If you disable Grow, another option for the ads.txt file would be to have your host set up a redirect from yoursitename.com/ads.txt (replace yoursitename with your domain) to the ads.txt file URL in your Journey dashboard under Journey Settings → Ads.txt → Ads.txt URL. It will look like the following:

This way, you wouldn't have to update the file manually if there's an ads.txt update.
-
Hey Debbye,
I spent a few minutes this afternoon navigating around your site, and unfortunately, I haven't been able to replicate the behavior you're seeing.
If you haven't yet, I recommend connecting with your host to see if they're able to do further troubleshooting on their end. In the meantime, it may be a good idea to try a few different browsers to see if the issues you're using are specific to whichever browser you're currently using.
0 -
Hi here is what my host says.
Hey Deborah,
After further investigation, it looks like the Redirection plugin is conflicting with the Grow for WordPress plugin (Mediavine), which sometimes throws a PHP Fatal Error. It's not a constant issue, but you seem to be experiencing it. When the error occurs, the site would definitely feel like it's slow, not working, or loading forever.
I recommend contacting Mediavine support again and letting them know that we found a conflict between the Redirection plugin and Grow for WP. They may tell you to deactivate the Redirection plugin, which wouldn't be ideal, but hopefully they'll fix it. Because it is a very popular plugin, having all their customers deactivate the Redirection plugin it is probably not ideal in the long term.
You can provide the following PHP Error log output to Mediavine support:
[10-Jul-2024 19:55:33 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Grow\AdsTxt does not have a method "remove_redirection_ads_txt" in /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/class-wp-hook.php:324
Stack trace:
#0 /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#1 /home/nginx/domains/oohlalaitsvegan.com/public/wp-content/plugins/redirection/models/redirect/redirect.php(599): apply_filters()
#2 /home/nginx/domains/oohlalaitsvegan.com/public/wp-content/plugins/redirection/modules/wordpress.php(328): Red_Item->get_match()
#3 /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/class-wp-hook.php(324): WordPress_Module->init()
#4 /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /home/nginx/domains/oohlalaitsvegan.com/public/wp-settings.php(695): do_action()
#7 /home/nginx/domains/oohlalaitsvegan.com/public/wp-config.php(113): require_once('...')
#8 /home/nginx/domains/oohlalaitsvegan.com/public/wp-load.php(50): require_once('...')
#9 /home/nginx/domains/oohlalaitsvegan.com/public/wp-blog-header.php(13): require_once('...')
#10 /home/nginx/domains/oohlalaitsvegan.com/public/index.php(17): require('...')
#11 {main}
thrown in /home/nginx/domains/oohlalaitsvegan.com/public/wp-includes/class-wp-hook.php on line 324
Please let me know if you have any other questions or issues.
Regards,
- Zach A0 -
When u say disable grow plugin and install the file manually does that mean after that’s done I can enable the plugin again? I use a lot of the grow features and I’d hate to lose them.
0 -
You would want to wait until the next plugin release that resolves this conflict to re-enable the plugin, but you wouldn't lose any Grow features if you also manually install the Grow script on your site! Here's an article that walks you through how to install the Grow script manually.
0 -
Ok so I need to disable plugin and then add the ad txt file and grow plugin manually? I’m a little confused.
0 -
Yes! Here's a step by step breakdown of what you'll want to do:
1. Disable the Grow for WordPress plugin
2. Install the Grow script following these instructions
3. Install the Journey ad script following these instructions
4. Install the ads.txt file following these instructions OR have your host set up a redirect as outlined in the official comment at the top of this thread
Once the Grow for WordPress update is released, you can reenable the plugin and remove the scripts that were added manually. I don't have an exact ETA on when the plugin update will be released, but it should be in the next two weeks or so.
0 -
Debbye Jean The next Grow plugin release that resolves the conflict with the Redirection plugin should be very soon (hopefully this week), and at that point you can return to using the Grow plugin.
If you try the manual installation again though and are still having issues with seeing ads, please let us know so we can take a look at what might be happening.
Thank you!
0
Journey is Self Supported
Please sign in to leave a comment.
Comments
8 comments