• Resolved mahmuthizal

    (@mahmuthizal)


    Hello, I am using the gn-publisher plugin on my website, but I get the following error message:

    AH01071: Got error 'PHP message: PHP Warning: Undefined array key "gnpub_google_rev_snippet" in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/gn-publisher/gn-publisher.php on line 312'

    This error appears on every page of my website, and it affects the performance and loading time. I have tried to deactivate and reactivate the plugin, but the error persists. I have also checked the plugin settings, but I could not find any option related to the “gnpub_google_rev_snippet” array key. I am using the latest version of WordPress and the plugin. Could you please help me fix this issue? Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • joekuzma

    (@joekuzma)

    I am seeing this exact same error, I’ve had to roll back to the prior version to get rid of it.

    Plugin Author GNPublisher

    (@gnpublisher)

    Hi, We apologize for the inconvenience caused. We’ve released a new update, so kindly update the plugin with the new version 1.5.11.1, clear the cache from everywhere and try it. If the issue remains the same please let us know.

    eperezf

    (@eperezf)

    Hello!

    Error is still happening, now on lines 229, 243 and 245:

    [27-Nov-2023 15:55:33 UTC] PHP Warning:  Undefined array key 1 in /wp-content/plugins/gn-publisher/controllers/class-gnpub-feed.php on line 229
    [27-Nov-2023 15:55:33 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/gn-publisher/controllers/class-gnpub-feed.php on line 243
    [27-Nov-2023 15:55:33 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/gn-publisher/controllers/class-gnpub-feed.php on line 245

    WP version 6.43.1, plugin version 1.5.11.1

    Plugin Author GNPublisher

    (@gnpublisher)

    @eperezf: Hi, thank you for bringing this to our attention and we apologize for the inconvenience caused. We’ve raised a GitHub ticket for the mentioned issue and we are working on fixing it. We kindly request your patience in the meantime.

    Here is the ticket: https://github.com/ahmedkaludi/gn-publisher/issues/83

    Plugin Author GNPublisher

    (@gnpublisher)

    Hi, Hope you’re doing well. We’ve released a new update, so kindly update the plugin with the new version 1.5.12, clear the cache once and try it. Please feel free to reach out to us if you have any concerns

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined array key error in gn-publisher.php’ is closed to new replies.