[Plugin: Duplicator] SQL error and a minor error
-
This plugin seems very useful to me. But as it is critical in the process of backing up and deploying I don’t like any error messages produced by such a module. Unfortunately there are some errors/notices reported in the error_log (or WP_DEBUG set to true).
(1) When activating the plugin a SQL query fails:
SHOW TABLES LIKE wp_duplicator
. The reason are missing ‘ around the table name wp_duplicator.
The correct query should beSHOW TABLES LIKE 'wp_duplicator'
. As a result the initialisation process intended only for the first activation will be executed each time the plugin is enabled.(2) PHP Notices: Undefined index: ftp-xxx in /usr/www/users/devjsx/wp-content/plugins/duplicator/inc/view.options.php on lines 130, 132, 136 and 140.
This is an area commented by the HTML comment tags <!– and –>. But it does not prevent execution of the PHP statements contained in the HTML comment.
- The topic ‘[Plugin: Duplicator] SQL error and a minor error’ is closed to new replies.