Title: Fatal error, mysql8
Last modified: November 20, 2022

---

# Fatal error, mysql8

 *  [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-mysql8/)
 * Hi， after upgrading to MYSQL8 from 5.7, when I active this plugin it has the
   below issue.
    Fatal error: Cannot redeclare ew_dochooks_enabled() (previously
   declared in /www/wwwroot/xxx.cn/wp-content/plugins/easy-watermark#/src/inc/functions.
   php:14) in /www/wwwroot/xxx.cn/wp-content/plugins/easy-watermark#/src/inc/functions.
   php on line 14
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-mysql8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-mysql8/#post-16222533)
 * Hey, MySQL should have nothing to do with the PHP and that error. It’s weird,
   as it’s pointing to the very same line 🤔
 * Did only the MySQL version change?
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-mysql8/#post-16222568)
 * Hi，
    Thanks for your prompt reply. I download the package and reinstall this
   plugin, It is so strange that the new one doesn’t cover the old one, the issue
   appears. After I remove the old one, it is OK now.
 * But it doesn’t work after I upgrade to PHP8.0 from PHP7.4. May I know when you
   can release a new version to fix the compatibility issue?
    Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error, mysql8’ is closed to new replies.

 * ![](https://ps.w.org/easy-watermark/assets/icon.svg?rev=2153955)
 * [Easy Watermark](https://wordpress.org/plugins/easy-watermark/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-watermark/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-watermark/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-watermark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-watermark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-watermark/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Diiamo](https://wordpress.org/support/users/luislu/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-mysql8/#post-16222568)
 * Status: not resolved