• Resolved MattDekker

    (@mattdekker)


    Before you click any link, please note that I have a website that contains mature content.

    After installing query monitor, It found that “PHP errors were triggered during an Ajax request. See your browser developer console for details.”

    After a bit more research, I see that these errors are triggered by Revive Old Posts, or “tweet-old-posts-pro” as my browser developer tool says.

    One of the many, many errors shows:

    Object { key: “——————–“, type: “deprecated”, message: “Return type of Google_Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice”, file: “wp-content/plugins/tweet-old-post-pro/vendor/google/apiclient/src/Google/Collection.php”, line: 16, stack: (6) […], component: “Plugin: tweet-old-post-pro” }

    Any idea how to fix? I feel like this is the main reason my admin panel is extremely slow.

Viewing 1 replies (of 1 total)
  • Plugin Support Poonam Namdev

    (@poonam9)

    Hi @mattdekker,

    Sorry to hear about the difficulties encountered.

    It looks like you are using PHP8, which is incompatible with the current Google package used in the plugin. We have reported this issue to our development team, and it should be fixed in the next update of the plugin.

    Let us know if we can help with anything else.

Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] PHP Errors in Ajax Response’ is closed to new replies.