Home › Forums › Support › Notice: Trying to access array offset on value of type null in /customers/c/8/9/
- This topic has 2 replies, 2 voices, and was last updated 3 years, 11 months ago by Tom.
-
AuthorPosts
-
May 13, 2020 at 3:07 pm #1283268ikenderham
Hello
My Gp-premium plugin give me a error on the website.
How can i solve this???
Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 25 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 26 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 32 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 37 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 42 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 46 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 52 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 653 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 653 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 649 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 653 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/blog/functions/images.php on line 140 Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/blog/functions/images.php on line 277
Notice: Trying to access array offset on value of type null in /customers/c/8/9/mentor2u.dk/httpd.www/wp-content/plugins/gp-premium/page-header/functions/functions.php on line 677
May 13, 2020 at 3:09 pm #1283273ikenderhamWhen i disable the plugin, then the error didnt display. If i activate the plugin i see the error on some of my pages.
I tried to download the new version of gp-premium 1.10.0 but same error when i activate it.
How can i solve this??
May 13, 2020 at 5:10 pm #1283401TomLead DeveloperLead DeveloperHi there,
The Page Header module was deprecated quite a while ago, but that shouldn’t be happening – I’ll dig into it.
For now, you can either:
a) Switch to Elements, they provide the same functionality as the Page Header module + a lot more: https://docs.generatepress.com/article/moving-hooks-page-headers-to-elements/
b) Turn off WP_DEBUG so these notices don’t show on your website: https://wordpress.org/support/article/debugging-in-wordpress/
-
AuthorPosts
- You must be logged in to reply to this topic.