- This topic has 17 replies, 4 voices, and was last updated 3 years, 11 months ago by
David.
-
AuthorPosts
-
May 24, 2022 at 12:35 pm #2231412
Peter
I’m getting this error on my posts page when I have config set to display errors. I’ve tested in both PHP 8.0 and 8.1, same messages. Anybody else see this?
Warning: Undefined array key "url" in [redacted]/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1304 Warning: Undefined array key "linkType" in [redacted]/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1304 Warning: Undefined array key "linkType" in [redacted]/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1304May 24, 2022 at 12:43 pm #2231427Leo
StaffCustomer SupportHi there,
We haven’t seen this before.
Have you added any elements in Appearance > Elements?
May 24, 2022 at 2:16 pm #2231500Peter
I did a web search and found the same error message on another site out in the wild.
I hadn’t touched that page (the Projects template in a theme I imported, I think your construction theme?). I just happened to turn on error reporting to troubleshoot an SSL error and saw these messages on that page, which is the default posts list page.
Thank you!
May 24, 2022 at 2:20 pm #2231504Leo
StaffCustomer SupportThere isn’t a Projects template in the elements of the original Construction site:
https://www.screencast.com/t/jYkkzKjKRUTAre you referring to the Posts Content Template?
May 24, 2022 at 2:26 pm #2231510Peter
Sorry to confuse, it’s not an element, it’s one of the pages, called Projects, which is used to display posts. In that Page, every Post is labeled a “project” (project portfolio item).
May 24, 2022 at 2:30 pm #2231518Leo
StaffCustomer SupportNow I’m confused. Can’t see how that page would trigger the error you are seeing.
Does the error disappear if you disable (set to draft) the Posts Content Template element indicated above?
May 24, 2022 at 3:30 pm #2231555Peter
Yes the error disappears but the posts (post list) still show up! Interesting, thank you
May 24, 2022 at 3:35 pm #2231557Leo
StaffCustomer SupportCan you check if the Image URL still shows as
gpsites.co?
https://www.screencast.com/t/zwIPlNrsA8ueAnd what happens if you update that link to use a link from your media library?
May 24, 2022 at 3:42 pm #2231558Peter
changing that background image to one from my server doesn’t change anything. Errors still there.
May 24, 2022 at 4:15 pm #2231573Leo
StaffCustomer SupportIt looks like Tom was able to fix in the issue in the upcoming version:
https://generatepress.com/forums/topic/undefined-index-linktype/page/3/#post-2123559Any chance you can start a staging site for me to try to identify the issue in your case?
May 24, 2022 at 4:32 pm #2231581Peter
Thanks Leo.
I have a staging site you can mess with, yes. Can you DM me somehow?
May 24, 2022 at 4:37 pm #2231583Leo
StaffCustomer SupportYou can use the private info field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationMay 24, 2022 at 5:38 pm #2231611Peter
Gotcha, will do. Thanks for all the quick responses. What email address should I use?
May 24, 2022 at 5:55 pm #2231621Fernando Customer Support
Hi Peter,
You may use Kindly share the credentials through the Private Information field once created.
Thank you!
May 24, 2022 at 7:08 pm #2231660Peter
ok I’m sending teh deets. Thanks y’all
-
AuthorPosts
- You must be logged in to reply to this topic.