Gtmetrix problem
-
Hi,
I added Burst Statistics on a new website today and I have a huge performance issue : https://prnt.sc/v1bgeoIP_ty9
Please could you help me with this ?
The page I need help with: [log in to see the link]
-
Hi @gooweb,
It appears that there are multiple issues present. Firstly, GT Metrix is causing a timeout or error, despite the browser receiving a successful 200 response within 250ms. Additionally, when visiting the English portion of your website, a REST API error is encountered. This appears to be caused by a translation plugin. Could you please let us know which translation plugin you are using?
One possible solution for both problems is to install our endpoint manually. When installing Burst, it attempts to install a file, “burst-statistics-endpoint.php,” at the root of your website. This is a faster and more accurate method of handling statistics data. If the endpoint cannot be installed, it will fall back on the REST API, as seems to be the case on your website.
To manually install the endpoint, FTP access is required. You must download this “burst-statistics-endpoint.php” file and place it at the root of your website. Please note that it will take about an hour for Burst to check if the file has been installed correctly, as we only perform this check once an hour to prevent server overload.
If you do not have FTP access, please let us know and we will find another solution. Additionally, please let us know which translation plugin you are using so we can investigate the error.
Kind regards,
HesselHi,
The translation plugin is WPML.
I already have the burst-statistics-endpoint.php file at the root of my website. I replaced it with FTP access. I will check in few hours.
Thanks.
Hi @gooweb,
Any changes? regards Aert
Hi,
No changes on Gtmetrix.
@gooweb I still see the Rest API as tracking method, but the Rest API is blocked it seems. This is probably the cause of the gtmetrix error, which is posting the error “incomplete.
To check what the the server is returning on the Burst endpoint, please enable debugging in your site, and wait a few hours. If the endpoint does not return a 200 error, the logs will contain something like:
Burst Statistics: Endpoint error, does not respond with 200. Response given:
To enable debugging, please add to your wp-config.php:
define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false );
Alternatively you can check why the rest api is not returning a valid response by checking if you have any security plugins active which are blocking it. I notice the default wordpress rest api is working, only the custom burst api not.
Hi @gooweb,
The issue seems to persist. I’ve checked on our own website to see if there is an issue with GTMetrix and Burst. See my test: https://gtmetrix.com/reports/burst-statistics.com/5pKzpWEF/
There seems to be another issue causing the REST API request to return an error. Can you enable debugging as @rogierlankhorst explained above? Please let us know if there are any errors in the error log.
Kind regards,
HesselHi,
I can’t enable the debug mode, there would be a lot of lines on the frontpage.
Here is a glimpse : https://prnt.sc/UBTzetf385AA
Hi @gooweb,
It seems like you are using PHP 8.1, which is still not officially supported by WordPress. PHP 8.0 and 8.1 are still in beta. Could you try reverting to PHP 7.4 and see if the issue remains?
Kind regards,
HesselHi,
Yes, because PHP 7.4 has no security support.
I reverted to PHP 7.4 and the issue remains… ??Hi @gooweb,
Sorry to hear. I forgot to ask you to enable debugging. All those errors on the front end of your website we’re related to PHP 8. I hope you are still on PHP 7.4, so you can enable debugging. After enabling debugging can you run another GTMetrix test and check if there are any errors in the debug.log.
Sorry for all the trouble. It’s tough to figure out an issue when we don’t have debug information.
Kind regards,
HesselHi,
Here is the debug log with PHP 7.4 : https://prnt.sc/b3WLP_BxdoAf
This one too, at the bottom of the back office : https://prnt.sc/GO_e2QhXlQy7
I don’t know what this path is.
Thanks.
Hi @gooweb,
Based on the information in the screenshots, there seems to be an issue with a plugin that has not been updated for a long time (or is abandoned).
Let’s try disabling all plugins except for Burst and see if GTMetrix still gives an error. If the error goes away, you can then enable plugins one by one, retesting with GTMetrix each time, until you figure out which plugin is causing the problem.
If you know what plugin is causing the issue, we can look at that specific plugin in combination with Burst.
Kind regards,
HesselHi @gooweb,
Another option is to enable ‘Turbo Mode’ in the Burst settings. Let me know if this solves your issue.
Kind regards,
HesselHi,
Turbo mode is activated now and it didn’t change anything on my gtmetrix test.
I deactivated all plugins except Burst and there is no more problems. So I activated plugins one by one as you said.
The conflict seems to be with Revolution Slider 6.6.8.
Thanks.
Hi @gooweb,
I’ve installed Revolution Slider 6.6.8 & Burst Statistics on an empty WP install: https://dead-dove-naya.instawp.xyz/sample-page/
I can’t reproduce the issue unfortunately; see this GTMetrix report: https://gtmetrix.com/reports/dead-dove-naya.instawp.xyz/yF1ZnpWZ/
I’m kind of lost on where to go from here. If we can’t reproduce the issue in an environment where we have access, it’s very tough for us to fix the issue. You could open a support request at Revolution Slider. But if I can’t reproduce the issue, they will probably not reproduce it either.
Uninstalling Burst or Rev Slider, is a solution, but not the solution you we’re hoping for. I’ll discuss with our team if we can do anything else.
Kind regards,
Hessel
- The topic ‘Gtmetrix problem’ is closed to new replies.