[resolved] SQL error and a minor error (2 posts)

  1. JochenT
    Posted 4 years ago #

    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 be SHOW 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.


  2. Cory Lamle
    Plugin Author

    Posted 4 years ago #

    Hey JochenT

    Thanks for the feedback, I'll go ahead and get these taken care of... I do my development with WP_DEBUG enabled not sure why those didn't surface for me, anyways thanks for the heads up!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Duplicator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic