• Resolved gce7

    (@gce7)


    hi. can you please help this problem? I am using php 7.4

    Undefined index: type+

    1. wp-content/plugins/otter-blocks/inc/class-registration.php:1008

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @gce7,

    Can you send in the content of the post where you’re having this issue? You can use https://pastebin.com/ to save your post content and send the link to the pastebin to us.

    Thank you!

    Thread Starter gce7

    (@gce7)

    Sorry. I don’t know how.

    emgerold

    (@emgerold)

    Hi there,

    since I updated to the latest Otter version I am having the same issue on all pages including a form.

    Heres a testlink: https://dev.emgerold.ch/ils/this-is-the-supersonic-independent-test-advise/?_thumbnail_id=46

    And here is the post content as JSON export

    {
      "__file": "wp_export",
      "version": 2,
      "content": "<!-- wp:themeisle-blocks/form {\"id\":\"wp-block-themeisle-blocks-form-98bc29ce\",\"optionName\":\"f6b679da1fee8955f18043ae91edd8de83ea55b1_98bc29ce\"} -->\n<div id=\"wp-block-themeisle-blocks-form-98bc29ce\" class=\"wp-block-themeisle-blocks-form\" data-option-name=\"f6b679da1fee8955f18043ae91edd8de83ea55b1_98bc29ce\"><form class=\"otter-form__container\"><!-- wp:themeisle-blocks/form-input {\"id\":\"wp-block-themeisle-blocks-form-input-ca5ea4f3\",\"label\":\"Name\",\"isRequired\":true} -->\n<div id=\"wp-block-themeisle-blocks-form-input-ca5ea4f3\" class=\"wp-block-themeisle-blocks-form-input\"><label for=\"wp-block-themeisle-blocks-form-input-ca5ea4f3-input\" class=\"otter-form-input-label\"><span class=\"otter-form-input-label__label\">Name</span><span class=\"required\">*</span></label><input type=\"text\" id=\"wp-block-themeisle-blocks-form-input-ca5ea4f3-input\" required class=\"otter-form-input\"/></div>\n<!-- /wp:themeisle-blocks/form-input -->\n\n<!-- wp:themeisle-blocks/form-input {\"id\":\"wp-block-themeisle-blocks-form-input-67752e04\",\"type\":\"email\",\"label\":\"Email\",\"isRequired\":true} -->\n<div id=\"wp-block-themeisle-blocks-form-input-67752e04\" class=\"wp-block-themeisle-blocks-form-input\"><label for=\"wp-block-themeisle-blocks-form-input-67752e04-input\" class=\"otter-form-input-label\"><span class=\"otter-form-input-label__label\">Email</span><span class=\"required\">*</span></label><input type=\"email\" id=\"wp-block-themeisle-blocks-form-input-67752e04-input\" required class=\"otter-form-input\"/></div>\n<!-- /wp:themeisle-blocks/form-input -->\n\n<!-- wp:themeisle-blocks/form-nonce {\"formId\":\"wp-block-themeisle-blocks-form-98bc29ce\"} /-->\n\n<!-- wp:themeisle-blocks/form-textarea {\"id\":\"wp-block-themeisle-blocks-form-textarea-91c16e54\",\"label\":\"Message\"} -->\n<div id=\"wp-block-themeisle-blocks-form-textarea-91c16e54\" class=\"wp-block-themeisle-blocks-form-textarea\"><label for=\"wp-block-themeisle-blocks-form-textarea-91c16e54-input\" class=\"otter-form-textarea-label\"><span class=\"otter-form-textarea-label__label\">Message</span></label><textarea id=\"wp-block-themeisle-blocks-form-textarea-91c16e54-input\" rows=\"10\" class=\"otter-form-textarea-input\"></textarea></div>\n<!-- /wp:themeisle-blocks/form-textarea -->\n\n<!-- wp:paragraph {\"fontSize\":\"extra-small\"} -->\n<p class=\"has-extra-small-font-size\">You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.</p>\n<!-- /wp:paragraph --><div class=\"wp-block-button\"><button class=\"wp-block-button__link\" type=\"submit\">Submit</button></div></form></div>\n<!-- /wp:themeisle-blocks/form -->"
    }

    @gce7 have a look here:

    https://wordpress.org/support/topic/undefined-array-key-type-3/

    This solution should work for you, too.

    Thread Starter gce7

    (@gce7)

    Yes. Thanks everyone. ^^

    It’s so cool ! Now Working well

    Plugin Support AndreeaR

    (@andreearadacina21)

    Hey @gce7,

    We are happy to hear that you were able to resolve the issue.

    A special note of gratitude to @emgerold for sharing the solution!

    If you have any more questions or if there’s anything else we can assist you with, feel free to let us know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.