Title: $confix-&gt;get_error_code()
Last modified: November 22, 2016

---

# $confix->get_error_code()

 *  [Jesse Graupmann](https://wordpress.org/support/users/jgraup/)
 * (@jgraup)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/confix-get_error_code/)
 * I haven’t checked your later versions, but I found this in `5.6.1`:
 * `./better-wp-security/core/modules/database-prefix/utility.php:54: $response['
   errors'][] = new WP_Error( $confix->get_error_code(), sprintf( __( 'Unable to
   read the <code>wp-config.php</code> file in order to update the Database Prefix.
   Error details as follows: %1$s', 'better-wp-security' ), $config->get_error_message()));`
   `./
   better-wp-security/core/modules/database-prefix/utility.php:66: $response['errors'][]
   = new WP_Error( $confix->get_error_code(), sprintf( __( 'Unable to update the
   <code>wp-config.php</code> file in order to update the Database Prefix. Error
   details as follows: %1$s', 'better-wp-security' ), $config->get_error_message()));`

Viewing 1 replies (of 1 total)

 *  Thread Starter [Jesse Graupmann](https://wordpress.org/support/users/jgraup/)
 * (@jgraup)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/confix-get_error_code/#post-8469591)
 * $confix is never defined.

Viewing 1 replies (of 1 total)

The topic ‘$confix->get_error_code()’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [typo](https://wordpress.org/support/topic-tag/typo/)

 * 1 reply
 * 1 participant
 * Last reply from: [Jesse Graupmann](https://wordpress.org/support/users/jgraup/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/confix-get_error_code/#post-8469591)
 * Status: not resolved