Hello Chris,
I think you are add the <?php tag in the snippet also FluentSnippet runs the scripts on plugins_loaded hook so the example code will not work.
I have modified the code and you can use it from here:
https://gist.github.com/techjewel/5e11a448a5b7cf9e079eba157c0534a8
Hope this will work.
Hi @techjewel,
Just tried copied the code in the link above and still same error, thanks
I have modified the code and it should work now. please make sure not to include the <?php tag on your snippet.
https://gist.github.com/techjewel/5e11a448a5b7cf9e079eba157c0534a8
Thanks
Hi,
still error, I have excluded the <?php of first line, screen record in below, thanks
https://drive.google.com/file/d/1fFsM7pGubmrS-UM3LTX1qdpBVO2lzEGm/view?usp=drive_link
Not sure what happened to your case, Maybe a conflict. We will release an update to show more details of the error so you can pin point the issue and fix. Looks like it’s site specific as I have tested the code.
Hi, I just experience another error and cannot create snippets I have disabled all other plugins and just Fluent Snippets running. I am running latest version of WordPress and WooCommerce and PHP8.2
https://drive.google.com/file/d/16_TImUMTOrU4KF-fRy52xaDEoHLutXag/view?usp=drive_link
Did you ever find a workaround to this? I have the same issue.
Hi @one3rdnerd,
No, I am now using a stupid method that input some test sinppets and saved for passing. Then use FTP to edit the code and upload to overwrite.
That’s a shame. I was excited to try this plugin but guess I’ll go back to Simple CSS/JS and Code Snippets.