Tagged: 

Viewing 12 reply threads
  • Author
    Posts
    • #11077
      swalker
      Participant

      Hi 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?

    • #11078
      Steve
      Keymaster

      Can 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/

    • #11079
      swalker
      Participant

      Hi 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

    • #11080
      swalker
      Participant

      There 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

    • #11081
      Steve
      Keymaster

      Try commenting out each field array in the Piklist file and see if you can narrow it down to a field. That would help.

    • #11082
      swalker
      Participant

      I no longer think it’s Yoast but I am getting these console errors (screenshot attached)

      I am working through the fields now though I’m not really sure what I am doing (I inherited this website)

      Thanks
      Sheree

      Attachments:
      You must be logged in to view attached files.
    • #11112
      swalker
      Participant

      Hi 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

    • #11113
      swalker
      Participant

      Errors attached

      Attachments:
      You must be logged in to view attached files.
    • #11115
      Steve
      Keymaster

      Try reinstalling WordPress. Same version.

      These errors are coming from WordPress files.

    • #11116
      swalker
      Participant

      Hi 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.
    • #11119
      Steve
      Keymaster

      Which 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

    • #11120
      swalker
      Participant

      Hi 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

    • #11124
      Steve
      Keymaster

      @swalker– Piklist is a code-based framework. The fields that are not saving are either in your theme or in a custom plugin. If you can find them and send it to support at piklist dot com, we can try to reproduce.

Viewing 12 reply threads
  • You must be logged in to reply to this topic.