Archived topic
Does generatepress support php 8.1?
7 replies · Started by zhou on November 24, 2022
The site prompts an error after enabling php8.1
Warning: Undefined array key "url" in /www/wwwroot/www.changshaseo.net/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306
Warning: Undefined array key "linkType" in /www/wwwroot/www.changshaseo.net/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306
Warning: Undefined array key "linkType" in /www/wwwroot/www.changshaseo.net/wp-content/plugins/gp-premium/elements/class-block-elements.php on line 1306
Hi Zhou,
What version of GeneratePress Premium are you using? This was an issue already addressed in GPP version 2.2.0. See here: https://generatepress.com/forums/topic/undefined-index-linktype/page/3/#post-2123559
If your GP and GPP versions aren't updated, can you try updating them to the latest versions and let us know how it goes?
GeneratePress3.2.4
GenerateBlocks1.6.0
GP Premium 2.2.1
Wp, theme and plug-in are all the latest versions
In php7.4, this error does not exist
It will be much faster to listen to others' assessment 8.1, expecting support
also
https://changshaseo.net/java-development-framework
and
https://changshaseo.net/java-development-framework?amp=1
Page Format Fatal Error
Can you help me?
Hi there,
the warnings will be coming from a dynamic link in one of the GP Elements you have in Appearance > Elements.
Go to Appearance > Elements, and Select ALL and Quick edit them and set their status to Draft.
Does the error go away ?
I know where the mistake is
But why did such a mistake occur?
I'm not afraid of making mistakes, but I'm afraid I can't solve this problem
Which element was the mistake in ?