Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error with ACF #1413

Open
Marycka9 opened this issue Mar 26, 2019 · 3 comments
Open

Fatal error with ACF #1413

Marycka9 opened this issue Mar 26, 2019 · 3 comments
Labels
plugin support Issues related to the main feature of 4.0, plugin support.

Comments

@Marycka9
Copy link

Warning: A non-numeric value encountered in
/wp-content/plugins/versionpress/src/Storages/Serialization/SerializedDataToIniConverter.php
on line 390

Warning: A non-numeric value encountered in
/wp-content/plugins/versionpress/src/Storages/Serialization/SerializedDataToIniConverter.php
on line 390

Warning: Cannot modify header information - headers already sent by (output started at
/wp-content/plugins/versionpress/src/Storages/Serialization/SerializedDataToIniConverter.php:390)
in /wp-includes/pluggable.php on line 1251

Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/versionpress/src/Storages/Serialization/SerializedDataToIniConverter.php:390) in /wp-includes/pluggable.php on line 1254

@pavelevap
Copy link
Collaborator

Hi @Marycka9,

do you have any example or steps to reproduce? It is probably related to some specific ACF data or settings.

Problem is related to following line of code (throws warning in PHP 7.1 when using math operation on non-numeric strings):

@pavelevap pavelevap added the plugin support Issues related to the main feature of 4.0, plugin support. label Mar 27, 2019
@Marycka9
Copy link
Author

The example is very simple:
I save a new group of fields for the page and this error occurs. Although the data is saved.

@pavelevap
Copy link
Collaborator

Which version of ACF and WordPress do you use? Do you have Gutenberg editor active?

My clean installation is WP 5.1.1, ACF 5.7.12 and I tried to create one field group with text field and I did not encountered your error. I think that it is related to some specific field or settings?

I found some other Notices (on Plugins page after ACF activation), but nothing like you described.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin support Issues related to the main feature of 4.0, plugin support.
Projects
None yet
Development

No branches or pull requests

2 participants