Hello! We are testing this plugin with a large production site. Creating a new A/B test fails with memory errors from PHP. Any suggestions?
Hmmm... from the looks of that, it looks like there's some backend query that is filling up memory. Better Analytics doesn't do any queries (at least not directly... possibly if you are using MySQL as a caching mechanism). If you do nothing but disable Better Analytics, does it go away?
Tricky part is that it's only showing up in the Better Analytics admin area, when we hit New A/B Test. I asked our developer to look into it, and he pointed out that this line might be the cause of the error, line 281 in experiments.php? $allPosts = get_posts(array( 'posts_per_page' => 100000 ));
That definitely could be an issue if you have just an insane about of posts within WordPress... since Better Analytics builds a drop-down list of all the posts for cases where you are running an A/B experiment on a specific post (for example altering just the title). How many posts are we talking exactly in your setup?
Around 37,500 some of the other plugins we use (e.g., Advanced Ads) do an ajax call for this circumstance--a textbox with type-to-search of post names