[Support request] Error with GP-Premium

Home Forums Support [Support request] Error with GP-Premium

Home Forums Support Error with GP-Premium

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2220981
    sam

    When i go to customise on appearance the whole window freezes. I have checked the error log and get this
    16-May-2022 10:01:01 UTC] PHP Warning: Use of undefined constant l – assumed ‘l’ (this will throw an Error in a future version of PHP) in /home/tju3ihv/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(215) : eval()’d code on line 121

    If i deactivate the gp premium plugin the customizer works fine, Also i have deactivated the elements section and this lets the customizer work.

    #2221003
    David
    Staff
    Customer Support

    Hi there,

    do you have any Hook Elements ? If so what is in them ?

    #2221006
    sam

    Hi,

    We have multiple hooks these include
    wp_head
    generate_inside_mobile_header
    generate_after_header
    generate_after_right_sidebar_content
    generate_before_right_sidebar_content
    generate_after_main_content
    wp_footer
    generate_before_entry_title
    generate_before_footer

    Another thing to add is these have been changed in a while and we have another site with the same elements and it works fine.

    Thanks

    #2221065
    David
    Staff
    Customer Support

    Can you disable each element individually ( Quick Edit > Change Status to Draft ) to see if a specific one is related to the error ?

    #2221077
    sam

    That didnt work either

    #2221408
    sam

    Any update on this?

    #2221415
    David
    Staff
    Customer Support

    What happens if you set ALL of them to a draft status ?

    #2221455
    sam

    I have found it I disable two of the wp_head hooks it works, however what could be causing this?

    #2222331
    sam

    Any update?

    #2222370
    David
    Staff
    Customer Support

    What code do you have in those wp_head hooks ?

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