wpsnoop Fatal error: Cannot redeclare view()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/video-goods/includes/view.php:18)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/count-unique-visitors-widget/wp-count-unique-visitors-widget.php:149)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/blade/application/helpers/helpers.php:17)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/simple-google-translate-widget/simple-google-translate.php:80)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/besucherzahler/besucherzaehler.php:138)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/traffic-counter-widget/wp-traffic-counter-widget.php:141)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/reviewx/vendor/jouleslabs/warehouse/src/Supports/common.php:36)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/traffic-stats-widget/wp-traffic-stats-widget.php:155)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/display-queries/display-queries.php:36)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/reservation-engine/vendor/getherbert/framework/bootstrap/helpers.php:184)

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

PHP Fatal error: Cannot redeclare view() (previously declared in wp-content/plugins/simple-traffic-widget/simple-traffic-widget.php:128)

This file is part of the WordPress plugin Simple Traffic Widget 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.