@tschwarz-1 Thanks for reaching out,
Could you please let us know the versions of WordPress, PHP, and our Social Feed Gallery plugin that you’re currently using on the site where you’re seeing this error?
Best regards, Quadlayers Support Team.
Sure,
it’s WP 6.8.2
PHP 8.3.17
Social Feed Gallery 4.8.3
it’s a local install using localWP. This error only occurred after the last update of Social Feed Gallery.
Apparently the problem is not with the update, its appearance just coincided with my renaming the local instance from .local to .abc, because I read that localWP has performance issues on domains like .dev and .local, which turned out to be true.
Apparently, since .abc is not a known local domain, the jetpack code you use in your plugin, now attempts to check and guess the host/type based on DNS, but that appears to fail. I normally wouldn’t care about the error, but the failing DNS query adds about 5s to the loading time.
I can reduce that by turning off the guessing attempt by setting
'host' => ( new Host() )->get_known_host_guess( false ),
in line 167 of class-script-data.php, but there’s no way to do this without changing core plugin/jetpack code.
I don’t know if it’s possible to turn this behaviour off in your calling of the Jetpack code or if it’s a required functinoality. Neither the failing DNS request nor the disables one seem to have an influence on the functioning of the social feed once it’s loaded, so if it’s a configuration aspect you could disable in your use of the Jetpack code, maybe that’s an option.
Hello @tschwarz-1
Please try version 4.8.6. We’ve updated jetpack-status to latest version