Cache database not created
-
I installed the plugin on several sites (on 2 different servers) and on none of them the plugin did not create the cache database. I suspect it is due to line
1466 if (this->settings != null)when I enabled the debugging , I get following error:
MendeleyPlugin::$settings in /home1/dinels/public_html/wp-content/plugins/mendeleyplugin/wp-mendeley.php on line 1466.I can get rid of the error by replacing the line with:
if (isset($this->settings) && $this->settings != null)I guess the database is not created because of the error in init()
function init() { $this->getOptions(); $this->initializeDatabase(); $this->initFileCache(); load_plugin_textdomain('wp-mendeley'); }but I do not know how to force the plugin to create the database after I get rid of the error above. Any idea?
Maybe you could add an option to delete and recreate the database for such extreme situations.
Related to this. How is it possible to contribute to this plugin with patches?
Thank you,
Constantin
The topic ‘Cache database not created’ is closed to new replies.