PHP 8+ Compatibility of Collapse-O-Matic?
-
Without intending to take too much of your time, I was wondering if your Collapse-O-Matic plugin has any compatibility issues with PHP 8+ or whether the minifying exclusion requirements are different from PHP 7.4. I use it on footers in my site, and works fine in PHP 7.4. But when I change settings to PHP 8+ it only shows the code. I currently exclude /wp-content/plugins/jquery-collapse-o-matic in my minifying plugin and it works fine in PHP 7.4, but, keeping the same setting, it does not work in PHP 8+.
I do not wish to switch to PHP 8+ just for the purpose of this question for you to see, so it won’t make a difference to show you an example, since it works as is in PHP 7.4. Should I not exclude the js file in PHP 8+? Should it be different? I use the regular plugin, not the premium. In my case the shortcode uses a snippet to print some text content to the page for google indexing purposes. What happens in PHP 8+ setting is that the snippet automatically turns off, as if it is trying to avoid a site breaking conflict.
Perhaps the issue is not with your plugin (since it does show the shortcode even under PHP 8+), but the snippet attached to that shortcode does not remain active to do its job.
Even if you say this problem is not caused by your plugin, it will be helpful so I can look for the cause elsewhere. This issues is preventing me from upgrading to PHP 8+ since I need the above function to work for indexing purposes of my pages. But I do need to upgrade for other reasons, so need to figure out this problem. Thanks for your time.
The page I need help with: [log in to see the link]
- The topic ‘PHP 8+ Compatibility of Collapse-O-Matic?’ is closed to new replies.