A new version has been uploaded with these changes:
Added code to prevent a strict warning. Found by member @altoid.
Changed instructions to give a warning in php 7 and would cause a failure in php 8.
Changed more code for compatibility with php 7.2 - add by member @raiwa.
See the update file for a change needed in the application_top.php file. Also, I suggest you check the settings for this addon. While they shouldn't have changed I find that one of the biggest things overlooked is the short word filter. Most shop owners, in my experience, leave it set at 3, which may be correct. But if the shop has names that are less than 3 characters. the url may not be as you want and may even be incorrect. For example, if you sell a product named "Ring size 7" and another named "Ring size 8", both will appear as "Ring size" and could be confusing to your customers.