CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
188 stars 163 forks source link

All forms broken and missing from admin panel #2679

Open tobias7an opened 6 years ago

tobias7an commented 6 years ago

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 4.9.7 PHP Version: 7.0.30 MySQL Version: 10.0.34 Caldera Forms Version: 1.7.2 WP_DEBUG:

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes

What Is The Unexpected Behaviour?

  1. Caldera forms were configured and display on wordpress website correctly.
  2. The folder name and subdomain of the wordpress install was changed.
  3. Errors replacing the location of all caldera forms (see below).
  4. In wp-admin, caldera acted as if it had been reset, prompting for opt-in again.
  5. All forms are gone on the admin panel. The admin panel says "You don't have any forms yet."
  6. All form data is still present in the mysql cf_forms database.
  7. Adding a new form shows up in both cf_forms database and the admin panel. However, all existing forms do not appear on admin panel and are broken on live site.

What PHP Errors Have You Logged While Reproducing This Bug?

Warning: in_array() expects parameter 2 to be array, null given in /home/user/site/wp-content/plugins/caldera-forms/classes/forms.php on line 725

What JavaScript Errors Have You Seen While Reproducing This Bug?

None

carolgann commented 6 years ago

@Shelob9 I am having the same warning after updating to 1.7.2 Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/caldera-forms/classes/forms.php on line 725