wpsnoop Fatal error: Cannot redeclare pq()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/parsnip/includes/phpQuery/phpQuery.php:1324)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/bind-wp/phpQuery/phpQuery.php:1324)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/wp-moip/moip-php/phpQuery/phpQuery.php:1324)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/themes/annotum-base/functions/phpquery/phpquery.php:5709)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/themes/annotum-base/functions/phpquery/phpquery.php:5709)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/wordpress-plugin-kickstarter/view/phpQuery/phpQuery.php:1324)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/wp-appbox/inc/queryelements.php:5711)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/kbucket/include/phpQuery-onefile.php:5683)

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 pq() (previously declared in wp-content/plugins/wp-bitbucket/_inc/lib/phpQuery/phpQuery.php:1324)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/wppygments/php/phpQuery.php:5684)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/mobile-first-content-images/includes/phpQuery-onefile.php:5684)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/aus-news-grabber/vendors/phpQuery.php:5684)

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

PHP Fatal error: Cannot redeclare pq() (previously declared in wp-content/plugins/visualweb-lazy-load/includes/phpQuery-onefile.php:5684)

This file is part of the WordPress plugin Visualweb Lazy Load 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.