Sometimes for some unknown reason, the $prefix_arlo_import_lock table is missing...
I don't believe this plugin would be deleting it, so maybe another plugin has an aggressive wildcard that is taking our table out.
However it has happened on two customer websites so we have to do something about it.
If the import lock table does not exist acquire_import_lock should not simply return false.
A better solution would be to log an error that the table was missing (maybe notify Arlo), re-create it, then acquire the lock.
Sometimes for some unknown reason, the
$prefix_arlo_import_lock
table is missing...I don't believe this plugin would be deleting it, so maybe another plugin has an aggressive wildcard that is taking our table out. However it has happened on two customer websites so we have to do something about it.
If the import lock table does not exist
acquire_import_lock
should not simplyreturn false
.A better solution would be to log an error that the table was missing (maybe notify Arlo), re-create it, then acquire the lock.