When you go to the Modules tab in the WPMM settings and click the Save settings button, it won't work and there will be some errors thrown (different errors on PHP 5.6 and 8.1) https://vertis.d.pr/v/2SBv45
Step-by-step reproduction instructions
Enable wp_debug
Install WPMM and import a template
Go to WPMM settings > Modules and click on Save settings
Check the errors
Screenshots, screen recording, code snippet or Help Scout ticket
Description
When you go to the Modules tab in the WPMM settings and click the Save settings button, it won't work and there will be some errors thrown (different errors on PHP 5.6 and 8.1) https://vertis.d.pr/v/2SBv45
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet or Help Scout ticket
https://vertis.d.pr/v/2SBv45
Environment info
WPMM 2.6.7 / Wordpress 6.2
Is the issue you are reporting a regression
No