WordPress.org

Ready to get started?Download WordPress

Forums

Google Pagespeed Insights for WordPress
Progress Bar not moving; No pages being indexed (22 posts)

  1. olie480
    Member
    Posted 9 months ago #

    Hello. This plugin is awesome! I tried it on one of my other sites and it worked fine, although when I tried it on another, it keeps on sending the ajax request (firebug console) but the requests are coming back as 0, and none of the pages are showing up in the admin section. Is there something I can check to see if it's being blocked somehow? or is there anyway I can debug this?

    Thanks!

    http://wordpress.org/plugins/google-pagespeed-insights/

  2. mattkeys
    Member
    Plugin Author

    Posted 9 months ago #

    Hey thanks for checking out my plugin.

    Are you using the latest version? It fixes a potential conflict with other plugins that could be causing the problems you are seeing.

    You mention that you are using the Ajax scan technique, have you also tried the WP Cron scan technique (set in the advanced section of the options).

  3. olie480
    Member
    Posted 9 months ago #

    I have the progress bar moving now, and I logged the exceptions, and here is what I am getting on each request

    Array
    (
    [0] => Array
    (
    [domain] => usageLimits
    [reason] => keyExpired
    [message] => Bad Request
    )

    )

  4. mattkeys
    Member
    Plugin Author

    Posted 9 months ago #

    The keyExpired and usageLimits would be talking about your google API key. I would recommend that you log into https://code.google.com/apis/console/ and see what is going on. It seems like you need to generate a new API key.

  5. olie480
    Member
    Posted 9 months ago #

    I tried a lot of keys so far, I even tried using the same key from another site, but nothing. I even tried switching from WP Cron technique, to Ajax, but that wasn't doing anything either.

    I am supposed to be getting a browser key, correct? not a server key? Also, I understand that using the same key from another site may conflict, but I have the referrers set to any, and I even tried that same key on a different site and it crawled fine.

    I have generated, deleted, created new keys under a different google account, for some odd reason this one domain isn't able to get the insights..

  6. mattkeys
    Member
    Plugin Author

    Posted 9 months ago #

    Can you confirm that you are able to receive Google Pagespeed Insights reports for your pages when you go directly to https://developers.google.com/speed/pagespeed/insights/ and paste in one of your URLs?

    As for the API key, I am using the key found under "Simple API Access".

  7. olie480
    Member
    Posted 9 months ago #

    I tested a URL on the pagespeed site itself, and everything worked as it's supposed to, but on the site, it's still not capturing or showing the results. The progress bar is moving, and it looks like it's scanning something, but when the scan is all over, there are no results on the page, like it didn't even scan anything.

    I thought it may have been the custom post types, but I unchecked all of the custom post types and it's still not working correctly. Not sure if it's a server issue, but I'm going to try to duplicate the site and put in on a different server to see if that helps.

  8. mattkeys
    Member
    Plugin Author

    Posted 9 months ago #

    Your site is loading normally for me now, and it is also now able to be checked on Google's own pagespeed site.

    When the plugin has difficulties scanning a URL, the URL gets added to the 'ignored pages' section. If you haven't already done so, make sure you reactivate the ignored pages to include them in your page scans.

    *UPDATE*
    Sorry I confused your issue with another support thread where someone is having a similar issue. The above advice about checking to "ignored pages" section may prove helpful if your pages were ignored on a previous attempt.

  9. olie480
    Member
    Posted 9 months ago #

    It's okay..

    I tried switching from WP_Cron to Ajax method, and in firebug I am getting the following error:

    <b>Fatal error</b>: Call to undefined method Google_CacheException::getErrors() in <b>/home/myusrdir/public_html/wp-content/plugins/google-pagespeed-insights/core/core.php</b> on line <b>464</b>

  10. mattkeys
    Member
    Plugin Author

    Posted 9 months ago #

    Interesting. The getErrors() function is a part of the Google PHP Library in use in this plugin.

    It says that the method is undefined, the only reason I can think of that would cause that, is that another plugin is already including an older version of the Google PHP lib.

    If you have any other plugins activated, can you try removing/deactivating them to see if the issue goes away?

  11. kativiti
    Member
    Posted 1 month ago #

    not working in mine too:
    asreceitasdeportugal.com

    try every option from support, deactivated every plugin.
    sometime got the msg "google insight finish reporting, refresh to view" but still nothing.

  12. mattkeys
    Member
    Plugin Author

    Posted 1 month ago #

    It looks like the website you listed is down. I am not able to load it in my browser. Google Pagespeed will need to be able to load the website from their servers to generate a report.

  13. kativiti
    Member
    Posted 1 month ago #

    hi thanks for the quick reply. working again.
    it runs fine in google

  14. kativiti
    Member
    Posted 1 month ago #

    screenshot here:

  15. kativiti
    Member
    Posted 1 month ago #

  16. mattkeys
    Member
    Plugin Author

    Posted 1 month ago #

    Kativiti,

    If you would like to create an admin account for me on your wordpress install I would be willing to take a look and see if I can find the issue.

    If so, please use the contact form on my website to send me this information: http://mattkeys.me/about/

    Thanks,

    Matt

  17. kativiti
    Member
    Posted 1 month ago #

    done

  18. kativiti
    Member
    Posted 1 month ago #

    Working yeahhhhh

  19. mattkeys
    Member
    Plugin Author

    Posted 1 month ago #

    It looks like the plugin is working properly, however your server seems to be very resource limited, and is often timing out when google tries to generate the reports.

    After forcing google to recheck the reports a number of times, it did finally get some successful responses from google.

    The failure message from google when reports were not working looked like this:

    "Timeout while fetching the main resource. Ensure that the page loads in a browser and try again."

    I would recommend upgrading your web host provider for a better experience not just with my plugin but overall. I noticed while refreshing your site that it often goes down due to resource limits imposed by your host.

  20. kativiti
    Member
    Posted 1 month ago #

    i think that what was causing that was a plugin "WP Social SEO Booster"
    i turn it off and when i went back to insights, all the info was there.
    Probably also the reason why admin panel was so slow.

    Thank you for all your help.
    5 stars coming up...

  21. kativiti
    Member
    Posted 1 month ago #

    quick question:
    i only see 5 pages in the report?

  22. kativiti
    Member
    Posted 1 month ago #

    found it. :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.