tlovett1 / custom-contact-forms

Build beautiful custom forms and manage submissions the WordPress way.
https://taylorlovett.com
161 stars 50 forks source link

New forms not saving #324

Open icdesignnz opened 7 years ago

icdesignnz commented 7 years ago

I go go to save a new form, click out of modal and receive this: Custom Contact Forms is experiencing issues. There is an issue with synchronizing data. Please try the following:

Go to Settings > Permalinks and click "Save Changes". This flushes your permalinks. If this fixes your problem, you are good to go! Deactivate all other plugins and activate the TwentySixteen theme. If this fixes the problem, there is a plugin or theme conflict. Please report on Github or the support forums. If neither of these things fix your problem, please report on Github or the support forums.

I've done all those things you asked above to fix the problem, but doesn't work.

The website is: http://www.matamatavets.co.nz/

thanks, Ian

webspilka commented 7 years ago

I have same error. My problem was with notification error in Request URL: http://site.name/wp-json/ccf/v1/forms/{formid}

try define('WP_DEBUG', false); in wp-config.php

or

Look at your php.ini, and try set

always_populate_raw_post_data = -1

Do not forget to restart apache after this

jmeile commented 6 years ago

Hi webspilka

I have tried activating the WordPress debug, but it is not logging anything and I'm still getting the same error message as the original poster.

I tried this settings:

// Enable WP_DEBUG mode define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true );

But they don't work. I even tried: error_reporting( E_ALL | E_STRICT | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); @ini_set( 'display_errors', 1 ); @ini_set( 'log_errors', 1 ); define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true ); define( 'SAVEQUERIES', true ); define( 'DIEONDBERROR', true ); define( 'ERRORLOGFILE', '/data/WordPress/wp-content/mu_error.log' ); @ini_set( 'error_log', '/data/WordPress/wp-content/php_error.log' );

But it does not log anything. Note: I also created manually the log files and set the ownership to www-data and permissions to 777, but I don't see any error.

"always_populate_raw_post_data = -1" is deprecated in php 7.0.

So, here I want to ask you: what was your error and how did you fix it?

Thanks

Best regards Josef

PS: Sorry for the code formatting, but using the "insert code" button didn't work in my case. The code was written in one line and not highlighting was done.