Hi!
Do you get any errors or can you provide any links where it shows the problem?
The styling is usually written in the footer section of WordPress. That’s after most things are loaded in WP including other plugins. Perhaps make sure that everything else works properly as well?
We are testing with PHP 8.1 for a while and expect for deprecation notices ( working on finding all ) , there is no reason the plugin shouldn’t work on 8.1
Thread Starter
add25
(@add25)
Hello.
Yes, I have done many tests and none of them works with 8.1. As soon as I downgrade to 8.0 everything works perfectly.
I have tested it on several websites and in all of them the same thing happens.`
https://prnt.sc/BNsJ4mCfG54r
Thread Starter
add25
(@add25)
I use wp-rocket and perfmatters. any exclusions I should include in a plugin?
Thank you.
Please check if in the footer the styles of Maxbuttons are being loaded when those are off to make sure. Sometimes caching systems can remove it.
If you have some kind of dynamic paging system ( without reloads when changing pages ) you can include the shortcode next to the button by adding style=”inline” to the shortcode ( i.e. [maxbutton id=1 style=”inline”] ) .
With Maxbuttons PRO there is also an option to include the style in a separate request which looks like a stylesheet.
Thread Starter
add25
(@add25)
Do I have to pay for the pro version to get it to work correctly with php 8.1?
it does not seem to me a good decision on your part. The PRO version should add more features, not that the plugin works well or not.
This is probably -not- a PHP 8.1 issue. Both versions work fine on 8.1 This is most likely an issue with your performance plugins.
If you can make class-based exclusions you can also try to add .maxbutton there. I’ve also suggested two other solutions.
The PRO feature improves SEO first and foremost and has the extra benefit that it works better with some enthusiastic ( in removing styling ) performance plugins.