wpsnoop Fatal error: Cannot redeclare set_html_content_type()

If you are dealing with a WordPress issue where a PHP Function set_html_content_type() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 24 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 24 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/simple-secure-contact-form/simple-secure-contact-form.php:432)

This file is part of the WordPress plugin Simple Secure Contact Form and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/nasim-persian-maker/nasim-presian-maker.php:285)

This file is part of the WordPress plugin فارسی ساز نسیم and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/gzip-ninja-speed-compression/gzip-ninja-speed.php:151)

This file is part of the WordPress plugin GZip Ninja Speed Compression and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/freshbooks-daily-billing-stats-lite/fb_opmc_email_projectsReport.php:274)

This file is part of the WordPress plugin FreshBooks Daily Billing Stats Lite and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/native-ads/main.php:310)

This file is part of the WordPress plugin Native-ads and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/rencontre/inc/rencontre_filter.php:151)

This file is part of the WordPress plugin Rencontre and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/pr-graumailing/pr-front-functions.php:128)

This file is part of the WordPress plugin PR Graumailing and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/pr-wpcf7-locaweb/pr-front-functions.php:119)

This file is part of the WordPress plugin PR WPCF7 Locaweb and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/envialia-carrier-for-woocomerce/funciones.php:2)

This file is part of the WordPress plugin Envialia Carrier for Woocommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/row-seats/row-seats-functions.php:4734)

This file is part of the WordPress plugin Row Seats Core and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/youtube-not-found/inc/core.php:241)

This file is part of the WordPress plugin Youtube Not Found and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/willing2buy/index.php:123)

This file is part of the WordPress plugin Willing2Buy Price Suggestion and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/guest-post-simplified/gps-main.php:175)

This file is part of the WordPress plugin Guest Post Simplified and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/wp-mechanic/inc/functions.php:90)

This file is part of the WordPress plugin WP Mechanic and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/wp-sticker-notes/plugin.php:287)

This file is part of the WordPress plugin WP Sticky Notes and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/church-admin/includes/functions.php:967)

This file is part of the WordPress plugin Church Admin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/connect-sendgrid-for-emails/lib/sendgrid/sendgrid-wp-mail.php:432)

This file is part of the WordPress plugin Connect SendGrid for Emails and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/appointment-form-manager/appointment-form-manager.php:275)

This file is part of the WordPress plugin Appointment Form Manager and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/awesome-event-booking/public/functions.php:937)

This file is part of the WordPress plugin Awesome Event Booking and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/sp-client-document-manager/common.php:1184)

This file is part of the WordPress plugin SP Project & Document Manager and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/sendgrid-email-delivery-simplified/lib/sendgrid/sendgrid-wp-mail.php:425)

This file is part of the WordPress plugin SendGrid and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/wp-funeral-press/includes/common.php:24)

This file is part of the WordPress plugin WP FuneralPress and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/whizz/modal/index.php:570)

This file is part of the WordPress plugin WHIZZ and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare set_html_content_type() (previously declared in wp-content/plugins/memoria-ticket-system/memoria-ticket-system.php:766)

This file is part of the WordPress plugin Memoria Ticket System and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.