Site logo

[Support request] Strange PHP error in Blog Post

Home Forums Support [Support request] Strange PHP error in Blog Post

Home Forums Support Strange PHP error in Blog Post

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2491717
    Martin

    I am receiving a few strange errors, that show up on the blog post. I have been testing one of the style templates.

    Warning: Undefined array key “url” in /var/www/html/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306

    Warning: Undefined array key “linkType” in /var/www/html/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306

    Warning: Undefined array key “linkType” in /var/www/html/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306

    Any idea what may be causing that?

    #2491833
    Leo
    Staff
    Customer Support

    Hi there,

    Are you referring to a site library template?

    If so which template was it?

    Let me know 🙂

    #2491956
    Martin

    Hi Leo,

    It was crypto:

    #2491989
    Leo
    Staff
    Customer Support

    Can’t seem to replicate this on my install in a fresh install.

    Can you set each element to draft one by one and let me which one is causing the issue?
    https://www.screencast.com/t/dJU8WtomZZf

    Thanks.

    #2492028
    Martin

    I set the post navigation to draft – because that one was showing the error even on loading the page and now I do not see the error anymore (for now). How would I drill down to see what specifically in my instance of post navigation is causing a problem?
    When I click on the link to edit the element of Post navigation (draft) – the error flashes on load momentarily and then disappears…

    Thanks,

    #2492093
    Leo
    Staff
    Customer Support

    I believe I’ve found the issue.

    Can you replace the existing post element content with this?
    https://pastebin.com/nFdShhuX

    You can use this method:

    Let me know 🙂

    #2528393
    CPANathan

    I’ve been powering through some updates for the past 4 hours, I’ve gotten to the stage of finishing up working on the default blog posts structures and happened to run into the same error as our Martin.

    I’m posting here to prepare myself for some after-nap tasks, if I don’t succeed with your fix is it cool if I edit this reply to fit the issues I face with your support? 🙂

    Thanks a hundred times GP team!

    #2528714
    David
    Staff
    Customer Support

    Hi there,

    i can’t tell if the OP has notifications on… so out of politeness let us know if you have any issues in a new topic.

    #2528887
    Martin

    I do have the notifications on. I couldn’t wait for the fix, so I quickly modified the portion of the template to fix it and will take a look at suggested specific fix when I have some time. You guys are great! Thanks !

    #2529352
    David
    Staff
    Customer Support

    Thanks for getting back to us Martin 🙂

    #2537908
    CPANathan

    Hey handsome,

    I’ve gotten around to resolving this issue again; I went through your steps and have figured out that it’s also the post navigation element my edited template is struggling with.

    I’m using the theme Inbound from the site library, is this issue happening for anyone else?

    Thanks in advance all, they really are aren’t they Martin!

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