• Hi, I stumbled upon an error in your (otherwise great ?? ) plugin.

    I activated the WP_DEBUG mode, which turns some of the warning into errors. The XCloner plugin tries to connect to localhost DB in the admin mode on load (on every admin page it seems). However, my host allows only “127.0.0.1” connections and NOT “localhost”, i.e. this connection doesn’t work. This doesn’t matter too much in normal mode, if fails silently, but in WP_DEBUG it halts the php processing and display an error, so effectively crashes the admin part of the site on each page.

    The “localhost” is probably hard coded. My wp-config.php contains 127.0.0.1, the XCloner settings page contains it as well. I can find “localhost” string in plenty of the .php files of the plugin, so I am not sure which one caused that.

    So currently the only way for me to turn on the WP_CONFIG is to disable the XCloner first.

    • This topic was modified 3 years, 6 months ago by vkovalcik.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Crash with WP_DEBUG + disallowed localhost’ is closed to new replies.