• I have been creating a form using the form editor and everything was working fine. I created one field as a Content Block and was able to go back and edit that field multiple times.

    Now, suddenly, it’s stopped working. I click on the Content Block field to edit it. The white pop-up comes up with some of the fields, but the text editor isn’t there, and the blue ‘loading’ animation keeps playing.

    I haven’t added or updated any plugins since it was working, so it’s not a plugin conflict. I was working on my own custom plugin since it was working, but I de-activated that plugin and the problem is still there, so again, it’s not a conflict with that plugin.

    Please help me understand why the editor would suddenly stop working when it had been working fine!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter delahoc

    (@delahoc)

    Added info.

    I’ve been trying to do a workaround on this while I wait for it to get fixed, by dumping the serialized contents of the _um_custom_fields meta record into a serializer editor. All of the editors I’ve tried (and there aren’t many) report that it’s a bad serialization. Could that be the issue? Could the editor not be loading because serializing the contents ends up breaking something?

    Note: the contents of that Content Block appears fine on the web page when I view the form. It’s only on the back-end (specifically, trying to edit the contents of the Content Block) where there is a problem.

    Thread Starter delahoc

    (@delahoc)

    Further edit.

    I edited the _um_custom_fields meta record to reduce the content of the Content Block down to 3 chars, and then changed the length field to three to match. Lo and behold the Content Block editor started working again.

    I originally had 1307 characters of HTML in there.

    I was then able to paste the original content back into the Content Block editor and save it, and the _um_custom_fiels records correctly had the new content. However, having saved it, the Content Block editor suddenly stopped working again, just as above.

    This clearly suggests to me that there is definitely an issue with the way the contents is saved (serialized) then loaded back into your plugin, and that this is causing the editor not to load.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @delahoc

    Does this issue occur with a default WP theme and UM active only?

    Regards,

    Thread Starter delahoc

    (@delahoc)

    I don’t have the time to do that level of testing for you. I’m using the Flash theme and a pile of plugins. As I mentioned, sometimes it works and sometimes it doesn’t. The times it doesn’t work is when it has either reached a certain number of characters or when the contents contains some unknown magic HTML. Here is the HTML contents of it at this moment (taken from the _um_custom_field in the table because at the moment the editor is still not working):

    <div style="width: 100%; display: flex; justify-content: space-between;">
      <div style="padding-right: 1.2em; font-size: 0.9em;">
    <p>If you would like to become a <strong>Premium Member</strong> of Telehealth Services, download this button and add it to your home page. Then link the button to the Telehealth Services home page and let us know once that has been done. This will help improve your own website's SEO for Telehealth searches. 
    </p>
    <p>
    As a premium member, you will also receive a multiplier effect for your CPC. The current multiplier for members is 
    <span style="border: 1px solid #ccc; padding: 3px 12px; font-weight: 700; background-color: white; border-radius: 4px; font-size: 1.1em; margin: 0px 10px;">
    <script>
      document.write( wpOptions.premium_multiplier );
    </script> 
    x</span>
    which means if you set your Cost Per Click at $0.50 then you will rank in searches as if your CPC is set at $2.50. The multiplier will drop in value as new premium members join so the earlier you become a premium member the better for your business. We will update our members when the multiplier changes.
    </p>
      </div>
      <div style="text-align: right;">
        <a download="file" href="https://telehealth.wwwsgsrc2.supercp.com/wp-content/uploads/2020/03/Telehealth-Services-Member-PNG.png">
        <img src="https://telehealth.wwwsgsrc2.supercp.com/wp-content/uploads/2020/03/Telehealth-Services-Member-PNG.png"></a>
      </div>
    </div>
    Thread Starter delahoc

    (@delahoc)

    I should probably mention that for the HTML above the stylised string length shows as 1447 characters, just in case that’s relevant.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @delahoc

    Could you please confirm what version of UM? you’re using? Also, could you please check what’s the value of your PHP Max Input Vars set in your server?

    Regards,

    Thread Starter delahoc

    (@delahoc)

    UM version is 2.1.4.

    PHP is version 7.2.

    Max Input Vars = 1000

    Thread Starter delahoc

    (@delahoc)

    So nothing new? No solutions?

    Thread Starter delahoc

    (@delahoc)

    Still nothing?

    Thread Starter delahoc

    (@delahoc)

    Wow. A month and a half since I provided the information you asked for and still nothing.

    Thread Starter delahoc

    (@delahoc)

    Here we are, three months since I provided the information you requested and still being ignored. This does not bode well. Very poor response.

    Thread Starter delahoc

    (@delahoc)

    Now four months and nothing …

    How’s that for stunning support?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Test editor in forms for Content Block suddenly stopped working’ is closed to new replies.