ArloSoftware / arlowp-plugin

Arlo for WordPress plugin
http://www.arlo.co
GNU General Public License v2.0
2 stars 3 forks source link

Import Lock table is sometimes missing - causes lock to evaluate to true #449

Closed ryanhalliday closed 4 years ago

ryanhalliday commented 4 years ago

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.

ryanhalliday commented 4 years ago

List of plugins from customer site with error. Site was hosted on WordPress.com Screenshot_2020-08-28

ryanhalliday commented 4 years ago

51826 in TFS