Acts_as_paranoid is giving me a headache when performing migrations.
For some reason when I perform a migration I get a “stack level too
deep” error. If I comment out the database inserts that are performed
(countries, regions, and a base admin) it works well. Even after
minimizing the data that is inserted on the migration to one record it
still throws the same error.
When running the migrate with the --trace option I get the following:
stack level too deep
I get the same error if I remove all the acts_as_paranoid calls from the
classes that use it. Although I am error free when I remove the
acts_as_paranoid plugin from the project.
Any ideas on how to fix this or suggestions for a better plugin?