[Resolved] Query Monitor reflects errors in the GeneratePress Elements Module

Home Forums Support [Resolved] Query Monitor reflects errors in the GeneratePress Elements Module

Home Forums Support Query Monitor reflects errors in the GeneratePress Elements Module

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #845321
    Michael Largue

    I generally run Query Monitor on my sites to identify potential issues with other plugins on my site. Unfortunately, it is identifying PHP errors in the GP Premium plugin when I attempt to create or modify elements in the Elements module. Unfortunately, it appears that I cannot upload a screen image, so…

    To replicate the problem, please install and activate Query Monitor, install and activate GP Premium, navigate to Appearance > Elements and click on Add New. Drill down on the Brown-highlighted Query Monitor status area of the Admin Bar to display the PHP errors.

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #845704
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I do all of the developing with Query Monitor active, and haven’t noticed any issues.

    Can you share one of the errors with me?

    Thanks!

    #845926
    Michael Largue

    Hi Tom

    Message Count Location
    Component

    Notice Undefined index: label 1

    do_meta_boxes()
    wp-admin/edit-form-advanced.php:638
    GeneratePress_Elements_Metabox->element_fields()
    wp-admin/includes/template.php:1306
    wp-content/plugins/gp-premium/elements/class-metabox.php:1169
    Plugin: gp-premium
    Notice Undefined index: label 1
    +
    wp-content/plugins/gp-premium/elements/class-metabox.php:1194
    Plugin: gp-premium
    Notice Undefined index: label 1
    +
    wp-content/plugins/gp-premium/elements/class-metabox.php:1268
    Plugin: gp-premium
    Notice Undefined index: label 1
    +
    wp-content/plugins/gp-premium/elements/class-metabox.php:1293
    Plugin: gp-premium

    Regards
    Michael

    #846046
    Tom
    Lead Developer
    Lead Developer

    Do these go away if you deactivate all of your other plugins?

    #846063
    Michael Largue

    ๐Ÿ™‚ I knew that would be the next question, and I will go through the process, but as an FYI, GP Premium was the last plugin to be added. Get back to later.

    Michael

    #846083
    Tom
    Lead Developer
    Lead Developer

    Sounds good. I can’t get those errors to happen, so I assume something is conflicting.

    Let me know ๐Ÿ™‚

    #846799
    Michael Largue

    Hi Tom

    It would appear to be the Regions for WP Job Manager by Astoundify that is causing the problem. Thanks for the help.

    Regards
    Michael

    #846996
    Tom
    Lead Developer
    Lead Developer

    Strange, I’ve added an additional check to prevent the notices in 1.8.0-alpha.2.

    Thanks!

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