[Support request] Notice: Trying to access array offset on value of type null in /customers/c/8/9/

Home Forums Support Notice: Trying to access array offset on value of type null in /customers/c/8/9/

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1283268
    Hussein

    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

    #1283273
    Hussein

    When 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??

    #1283401
    Tom
    Lead Developer
    Lead Developer

    Hi 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/

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