• Resolved muskangarg98

    (@muskangarg98)


    Hello,
    It says Something went wrong.
    Cannot read properties of undefined (reading ‘query_var’)

    The error message is

    {
      "message": "Cannot read properties of undefined (reading 'query_var')",
      "stack": "TypeError: Cannot read properties of undefined (reading 'query_var')\n    at u (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:40:1567)\n    at ni (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:74335)\n    at Bi (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:83853)\n    at Bc (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:127711)\n    at gs (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:113750)\n    at Ls (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:113678)\n    at hs (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:113541)\n    at us (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:110528)\n    at https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:60233\n    at t.unstable_runWithPriority (https://www.remoteflyer.com/wp-content/plugins/amp/assets/js/amp-settings.js?ver=85a69fcacdf37227e3559bda1801a6ba:60:137428)"
    }

    I recently deleted this plugin because no changes made to the site was being updated in amp. I have installed amp for wp and now it’s theme is not going away. Please Help.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @muskangarg98

    Thank you for the support topic, Can you please clear your site cache also clear OpCache in case you were using a different plugin before.

    Also, I was not able to check your AMP page as there is some redirect in place which was redirects you back to non-AMP pages, please disable/remove it

    Additionally, please send your site health info using this form so we can investigate the issue further.

    Thread Starter muskangarg98

    (@muskangarg98)

    Okay I have cleared the cache and removed the redirects. Also I have filled the form.
    Thanks.

    Plugin Support Milind More

    (@milindmore22)

    Hello @muskangarg98

    We are still not able to view your AMP page the redirect is still in place.

    you can also check your redirect on Redirect Checker by entering your AMP page URL
    which will be https://www.remoteflyer.com/?amp and it should return 200 ok and not 301 permanently moved

    As we checked the header X-Redirect-By: Yoast SEO Premium the redirect may be added in the Yoast SEO Premium plugins Redirect feature, the errors you posted in the topic might be related to redirect.

    Thread Starter muskangarg98

    (@muskangarg98)

    Hello,
    I already removed the redirect from Yoast SEO Premium. If you go on and check for https://www.remoteflyer.com/amp/ it will return 200 ok. Is there a difference between https://www.remoteflyer.com/amp and https://www.remoteflyer.com/amp/ .

    The error I posted is gone now but any changes made in the site is not reflected in the amp site. I have cleared the cache and browsing history but my amp site in mobile still shows the previous theme. Can you please help me with it?

    Plugin Support Milind More

    (@milindmore22)

    Hello @muskangarg98

    When you search on mobile and click on Google search results it shows you AMP cache.

    The AMP Cache will be updated when Googlebot re-crawl your page, which sometimes can take more than 2 weeks, this is something we can’t control using the AMP plugin, Search Console support may provide better guidance on AMP cache.

    Thread Starter muskangarg98

    (@muskangarg98)

    Ok but there are some posts in updated theme some are not. Also some posts just keeps reloading again and again. I don’t know what is happening and why?

    Plugin Support Milind More

    (@milindmore22)

    @muskangarg98

    As I said in my previous reply, we can’t control AMP cache or Googlebots it will be best to wait for sometime for them to re-crawl your page, which usally taks 2-3 weeks, you can also manually request re-indexing

    Also some posts just keeps reloading again and again. I don’t know what is happening and why?

    It will best to approach Search Console support if there are some issues in your google cache.

    Thread Starter muskangarg98

    (@muskangarg98)

    Ok. Thank You for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error during setup’ is closed to new replies.