• Resolved oldteaseller

    (@oldteaseller)


    Hi there,

    I tried setting up the plugin today but upon clicking the “connect” button received in the email, I was met with the following error:

    This message was triggered by Core.
    Call stack:
    1 wp_die()
    2 wp-admin/includes/menu.php:350

    Do you have any idea what might be causing this problem? I can’t see any error printed in the Woocommerce status log.

    Kind regards,

    Simon

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @oldteaseller,

    That is a strange message and not one I’ve previously seen when trying to connect the Google Listings & Ads plugin to a Google Account or other service.

    Looking at line 350 of the WordPress core software wp-admin/includes/menu.php file the line of code within that file is below. It seems to be related to a possible permissions error on your site not allowing access to an admin page.

    Image Link: https://cloudup.com/cKT1GZy9e1d

    What connect button are you receiving this message after clicking as there are several on the page. Is it the first WordPres.com connection button?

    https://docs.woocommerce.com/document/google-listings-and-ads/#setup-and-configuration

    A few things to try are this.

    Make sure you’re logged into the site with the main Administrator account.

    If you’ve got any plugins installed on the site which allows you to change user permissions on user roles changes using those types of plugins could have affected something and triggered this error from WordPress.

    It could also be some code from another plugin or theme which has caused a possible conflict initiating this peculiar behaviour and error.

    To see if that is the case we’d suggest carrying out a conflict test on your site by disabling all other plugins aside from WooCommerce, Google Listings & Ads along with switching to a theme like Storefront. Once the site is in that configuration try connecting to your Google Account again using the connect buttons.

    This will help with trying to and locate what software you have installed which could possibly be causing this behaviour? You could use a free plugin called Health Check and Troubleshooting to carry out such testing.

    When in Troubleshooting mode all plugins will be deactivated and only the admin of the site carrying out the troubleshooting would see those changes. Any customers visiting the site would see no changes at all.

    Once you have disabled all other plugins and switched themes if the behaviour is resolved you can then enabled your theme and sites plugins testing after each one is enabled until the behaviour returns to locate the culprit.

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thread Starter oldteaseller

    (@oldteaseller)

    Thank you for the quick reply. Yes, I couldn’t find earlier instances of this error message either. Strange…

    I clicked the “connect” button which I received through email from woocommerce.com saying “To continue setup, click the “Connect” button below, and we’ll connect io – et japansk tehus to Google Listings & Ads.”

    I was logged in as Admin and have no plugin installed able to change permissions. Theme is Storefront.

    I will give it a try again or else try Troubleshooting mode.

    kind regards,

    Simon

    Thread Starter oldteaseller

    (@oldteaseller)

    Hmm… for some reason the plugin and setup seem to work flawlessly now, after simply re-activating it. Curios.

    I will mark this thread as solved.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @oldteaseller,

    That’s great you managed to get the plugin connected now. It could have been a small conflict of some kind with another plugin, as you’ll appreciate it’s hard to say exactly what that could have been though. I suppose if it’s working now that’s the main thing though right ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to connect’ is closed to new replies.