custom-contact-forms
custom-contact-forms copied to clipboard
Seems the plugin doesn't work with WP REST API plugin v2.0-beta11
It's impossible to add a new form or insert an existing one to a page. And there's an error in the console.
Here is what WP REST API plugin throws when enabling (if custom-contact-forms is already enabled):
Plugin could not be activated because it triggered a fatal error.
Fatal error: Cannot redeclare _add_extra_api_post_type_arguments() (previously declared in ...\wp-content\plugins\custom-contact-forms\wp-api\plugin.php:101) in ...\wp-content\plugins\rest-api\plugin.php on line 134
It seems to be incompatible with all the v2.0 plugins, isn't it? Tried beta 11, 10, 9, 8 and it's all the same.
This should be fixed (for the most part) in the develop branch.
bump. same with Version 2.0-beta13
Fatal error: Cannot redeclare _add_extra_api_post_type_arguments() (previously declared in /public/wp-content/plugins/custom-contact-forms/wp-api/plugin.php:100) in /public/wp-content/plugins/rest-api/plugin.php on line 101
Call Stack
# Time Memory Function Location
1 0.0000 293264 {main}( ) .../plugins.php:0
2 0.1926 6471920 plugin_sandbox_scrape( ) .../plugins.php:164
( ! ) Xdebug: Fatal error: Cannot redeclare _add_extra_api_post_type_arguments() (previously declared in /public/wp-content/plugins/custom-contact-forms/wp-api/plugin.php:100) in /public/wp-content/plugins/rest-api/plugin.php on line 101. Output triggered in /public/wp-content/plugins/query-monitor/collectors/php_errors.php on line 137
Call Stack
# Time Memory Function Location
1 0.0000 293264 {main}( ) .../plugins.php:0
2 0.1926 6471920 plugin_sandbox_scrape( ) .../plugins.php:164
3 0.1929 6403360 QM_Collector_PHP_Errors->shutdown_handler( ) .../php_errors.php:0
4 0.1930 6405104 xdebug_print_function_stack ( ) .../php_errors.php:137