Tagged: error
- This topic has 12 replies, 2 voices, and was last updated 1 year, 1 month ago by
Steve.
-
AuthorPosts
-
-
December 13, 2020 at 8:03 pm #11077
swalkerParticipantHi there
All of a sudden, for no obvious reason, none of the piklist fields will save their content and I get several console errors like this:
Notice: Trying to access array offset on value of type bool in /var/www/…/wp-content/plugins/piklist/includes/class-piklist-meta.php on line 126
Any ideas what is causing this?
-
December 14, 2020 at 11:23 am #11078
SteveKeymasterCan you post the file that has the fields that are not saving? If you can add it as a gist that would be great: https://gist.github.com/
-
December 14, 2020 at 1:28 pm #11079
swalkerParticipantHi there,
I did not build this website, but it would appear to be this file:
https://gist.github.com/shereewalker/48d699a722f404cc55e73cf22bf49c54
None of the fields in this are saving,
Thank you!
Sheree
-
December 14, 2020 at 2:50 pm #11080
swalkerParticipantThere appears to be a conflict with Yoast and Piklist – once I disabled Yoast, the fields saved as expected. Any thoughts?
Thank you very much
Sheree
-
December 14, 2020 at 2:57 pm #11081
SteveKeymasterTry commenting out each
fieldarray in the Piklist file and see if you can narrow it down to a field. That would help. -
December 16, 2020 at 2:45 pm #11082
-
December 20, 2020 at 12:34 pm #11112
swalkerParticipantHi Steve,
Just an update on this.
Looking at the console, I had about 60 odd 404’s when trying to save content using piklist. I went through the usual steps, disabling plugins etc, but in the end, I had to use a plugin that rolled back versions of WordPress and plugins. From there, I had to install previous WordPress versions one by one, and the corresponding plugin version for that time. As you can imagine, this took a very long time – but in the end I discovered that it all breaks when upgrading Piklist from 1.0.8 to 1.0.9.
As far as I can see, it’s no conflict with any other plugins but appears to be an issue with tinymce.
Obviously this was a few versions ago now so I wondered if you had encountered this before? At the moment, I cannot upgrade to the most recent version (even the one you just released just a few days ago) because as soon as I do, the errors appear again and nothing will save.
Thanks!
Sheree -
December 20, 2020 at 12:37 pm #11113
-
December 20, 2020 at 12:47 pm #11115
SteveKeymasterTry reinstalling WordPress. Same version.
These errors are coming from WordPress files.
-
December 20, 2020 at 1:16 pm #11116
swalkerParticipantHi Steve,
I actually tested multiple version of WordPress all the way back to 5.2.6 but the errors only appear between those two updates. If I roll it back from version 1.0.9 to 1.0.8 the errors immediately disappear.
When you expand one, you can see it references Piklist – sorry I should have included this at the start
Thanks again
Sheree
Attachments:
You must be logged in to view attached files. -
December 23, 2020 at 3:03 pm #11119
SteveKeymasterWhich PHP version are you using? This was the only change to 1.0.9 and it was for a PHP 7.4 notice: https://github.com/piklist/piklist/commit/0e6bde52d0244b0ffd6b7aef1aa43aee0d94fb89
-
December 29, 2020 at 2:02 pm #11120
swalkerParticipantHi there,
I tried, 7.2, 7.3 and 7.4 and the problem appeared in each instance
Currently the website remains on 7.4 but with version 1.0.8
Thanks again
Sheree -
January 4, 2021 at 11:20 am #11124
-
-
AuthorPosts
- You must be logged in to reply to this topic.