wpsnoop Fatal error: Cannot redeclare write_log()

If you are dealing with a WordPress issue where a PHP Function write_log() 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 77 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 77 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/car-demon/includes/cd-init.php:258)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/slovenska-posta-epodaci-harok/includes/functions.php:602)

This file is part of the WordPress plugin Slovenská pošta - ePodací hárok and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/ogpanic/og-panic.php:36)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/fonk-slack-notifications/fonk-slack-notification.php:143)

This file is part of the WordPress plugin Fonk - Slack Notifications for Devs and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/last-email-address-validator/includes/leav-helper-functions.inc.php:10)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/simple-vertical-timeline/simple-vertical-timeline.php:35)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/foxdell-folio-block-editor-customiser/fofo-block-editor-customiser.php:22)

This file is part of the WordPress plugin Foxdell Folio Block Editor Customiser and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/elevaweb/elevaweb_networks_core.php:350)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/4blit/4blit.php:27)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/rss-synchronization/rss-sync.php:33)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/real-estate-right-now/includes/functions/functions.php:435)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/thumbnailr/cozyuni-misc.php:20)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/12-step-meeting-pdf-generator/12-step-meeting-pdf.php:25)

This file is part of the WordPress plugin 12 Step Meeting PDF Generator and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/pagaris-para-woocommerce/logger.php:4)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bettor/betfunctions.php:168)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wc-mobilpayments-card/lvdwcmc-plugin-functions.php:182)

This file is part of the WordPress plugin LivePayments - mobilPay Card WooCommerce Payment Gateway and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-license-manager/wp-license-manager.php:61)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/smartrmail-personalized-email-marketing/smartrmail-woocommerce-integration.php:39)

This file is part of the WordPress plugin SmartrMail - Email Marketing for WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/custom-products-fields-woo/templates/woo-product-custom-field.php:6)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/custom-products-for-woocommerce/custom-products-for-woocommerce.php:82)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/kb-elementor/includes/functions.php:211)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/includes/functions.php:1990)

This file is part of the WordPress plugin Boz Prod WooCommerce Hipay Wallet Pro and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/multisite-mediasync/multisite-mediasync.php:28)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bet-wc-2018-russia/fms2018.php:13)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/kbucket/functions.php:896)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/ko-fi-button/Ko_fi.php:15)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/contact-form-7-mailchimp-extension/chimpmatic-lite.php:287)

This file is part of the WordPress plugin Contact Form 7 Extension For Mailchimp and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bp-xprofile-location/loader.php:80)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/neutral-cart-co2-offsetting/neutralcart.php:91)

This file is part of the WordPress plugin Neutral Cart - CO2 Offsetting and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/stedb-forms/stedb-forms-wordpress.php:85)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/orderstorm-e-commerce/orderstorm-ecommerce.php:32)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/orderstorm-wordpress-e-commerce/orderstorm-ecommerce.php:40)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/privy-crm-integration/includes/class-wpcf7-function.php:12)

This file is part of the WordPress plugin Privyr CRM - Instant alerts for Contact Form 7 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/frontaccounting-connect/fac.php:28)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/orea-censor/censor.php:49)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/social3-integrations/s3-integrations.php:19)

This file is part of the WordPress plugin Social3: Free Website and Social Media Marketing Tools and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wc-payphone-gateway/woocommerce-gateway-payphone.php:43)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/easy-bet/easybet.php:13)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/products-for-holvi/products-for-holvi.php:76)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/fantastic-restaurant-menu/include/function_library.php:5)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bpmcontext/includes/bpm-sdk/includes/bpmcontext_html_main.php:2816)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bpmcontext-client-suite/includes/bpm-sdk/includes/bpmcontext_html_main.php:2816)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bpmcontext-contact-plus/includes/bpmcontext-form-handler-functions.php:16)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/nuapay-emandates/logging/logging-utils.php:14)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bpmcontext-dropbox/includes/bpm-sdk/includes/bpmcontext_html_main.php:2816)

This file is part of the WordPress plugin BPMContext - Intranet Plus Dropbox and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/aw-skr/includes/helper-functions.php:14)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/cc-bmi-calculator/cc-bmi-calculator.php:224)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/goon-plugin-control/goon.php:131)

This file is part of the WordPress plugin Goon - Control your plugins and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/mailcwp/lib/util.php:3)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-referral-code/includes/helpers/general.php:110)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/indiebooking/rewasoft_indiebooking.php:49)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/simple-table-manager/includes/functions.php:8)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/basic-landing-pages-wizard/basic-landing-pages-wizard.php:50)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-trip-summary/abp01-plugin-functions.php:162)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/plugin-optimizer/plugin-optimizer.php:141)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/sailthru-widget/plugin.php:314)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/custom-order-number-woo/templates/woocommerce-custom-order.php:5)

This file is part of the WordPress plugin woo-commerce custom order number adding suffix and prefix and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/realtypack-core/realtypack-core.php:22)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/servicio-de-tutopic/index.php:90)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/firework-videos/firework-videos.php:611)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/tomikup-wishlist/functions.php:28)

This file is part of the WordPress plugin Seznam přání a hlídací pes Tomikup and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/mailrcpt/cozyuni-misc.php:20)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/bizappay-for-givewp/index.php:21)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/pay-with-twnkl/pay-with-coins.php:67)

This file is part of the WordPress plugin Pay With TWNKL for WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/epx-ecommerce/woocommerce-gateway-epx.php:17)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/edd-bizappay/index.php:15)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/forumlines/cozyuni-misc.php:20)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/cinda-citizen-science/library/global.php:12)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/prihlasovanie-na-svate-omse/includes/functions.php:429)

This file is part of the WordPress plugin Prihlasovanie na sväté omše and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/rss-featured-images/pxru.php:16)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/mutual-funds-data/mutual-funds-data.php:524)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/popup-maker/includes/compat.php:213)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/widget-to-show-posts-in-current-category/widget-to-display-posts-from-current-category.php:178)

This file is part of the WordPress plugin Widget to Display Posts from Current Category and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-allaround/wp-allaround.php:27)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/feedback-note/feedback-note.php:636)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-dealer-map/includes/dealer-map-functions.php:106)

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

PHP Fatal error: Cannot redeclare write_log() (previously declared in wp-content/plugins/wp-imap-authentication/wp-imap-auth.php:80)

This file is part of the WordPress plugin WP IMAP Authentication 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.