I had the same problem. You can increase max_input_vars in your php.ini file:
max_input_vars = 3000
Best Regards!
Ramzesimus
Thread Starter
berky
(@berky)
Are you sure @ramzesimus?
php settings is reason of wrong calculation in wordpress plugin?
thanks
@berky yep, I know it sounds weird, but it helped me to fix the same issue.
Best Regards!
Ramzesimus
Thread Starter
berky
(@berky)
Ok, thanks, I will try it ๐
Awesome!
Let us know how it works then.
BTW, that toally makes sense. If you server limits the input vars not all events may be taken into account.
Thanks!
Kind Regards,
-Roch
Thread Starter
berky
(@berky)
So, this is not the problem. Server settings is max_input_vars = 15000. You can check it here: https://www.sokollibcice.cz/phpinfo.php.
Any other idea?
I realy think that plugin does not calculate total values from manualy inserted data in player detail. Because if I inserted some performance stats in event, total value in player stats is OK. But you have option to insert values for season stats in player detail manualy. Then automatic calculation is not working ๐
Thread Starter
berky
(@berky)
@rochesterj – one indication: if I change type of performance field in admin to Sum. It works good. But Type Avaerge is not calculated…
Thread Starter
berky
(@berky)
@rochesterj any idea? Please don’t say, this topic is not active, create new one ๐
Thanks
Hi @berky
We often have to ask users to open topics for their own issues (as that’s a WP rule, and it’s kinda rude to jump into other people’s topics), but we never ask users to open new topics for the same issue.
Regarding your issue that’s a weird one. I agree with you that this may be an issue. As averages are calculated based on each event data (otherwise the average would be skewed) the lack of event data prevents the plugin from calculating it (as the season itself is not a good reference).
That’s what I think at least, I’ll send this to our dev team to see what they think about this one.
In the meantime, are you able to use the adjustments for the total as well? You could manually add an average there just to make sure you have some data for now.
Thanks!
Kind Regards,
-Roch
Thread Starter
berky
(@berky)
Hi, thanks for checking with dev team. I can adjust total value, but it changes after every match played ๐
thnaks anyway
P.
Hi!
That’s a good point! We’ll get back to you as soon as possible!
Another idea is adding a dummy event to save the adjustments so they will be taken into account for future events.
Thanks!
Kind Regards,
-Roch