Forum Replies Created

Viewing 15 replies - 1 through 15 (of 50 total)
  • vorticy

    (@vorticy)

    Wow. ok. two days and my orders were failing because of this change.

    Thread Starter vorticy

    (@vorticy)

    Thank you for your reply. I have tested and verified the following:

    1. To do network stuff, the user needs to be registered in the main site.? A user created in a sub site will not be able to do network stuff even if they are granted Super-Admin status at the network level.
    2. This user does not need to be a super-admin to do network stuff. They just need to be registered in the main site and granted network permissions using a user role plugin such as Members or User Role Editor. I’m using URE.
    3. A single user registered in both the main site and sub site can have different roles in each site. In the main site, they can have very limited roles to access network level functions like modifying themes. In the Sub site, they can have more control such as an editor or admin. This was useful to me as I hired a developer to work on a theme for a sub site and I didn’t want them messing around with the main site or any other network level functions (other than modifying themes).

    This is what I have experienced. Multisites are pretty awesome but somewhat cumbersome if you have an older installation. Many things have not worked the way I have read. My sites are stores on Woocommerce so it might be different for others. My subsite uses a alias domain. I had to modify the database to include spam columns in order to register new users. And a few other weird quirky stuff. But after some fussing around, it is working and working well I think.

    Thread Starter vorticy

    (@vorticy)

    I was able to add the user from the sub site to the main site from user portal on the main site. I just added an existing user. I then changed the role to a new role created with the plugin User Role Editor (URE). I gave this new role very basic access such as General->Read, Multisite->Manage Network Themes, all the Themes, and Woocommerce->View Admin Dashboard. On the sub site, this user has more extensive roles as an Editor with a few other custom access rights. Now this user can log in via the sub site login and have access to network level theme editing. They can access the main site dashboard but there really isn’t anything available for them to see.

    Thread Starter vorticy

    (@vorticy)

    Thank you @mrclayton! I was trying to get this to work while logged in and it kept going to credit card even though I had moved paypal to the top of the payments list.

    Thread Starter vorticy

    (@vorticy)

    thanks for the clarification. At least I know it’s not a set up problem on my part.

    The error message indicates that there is a PHP Warning in the file MerchantStatuses.php at line 472 of the Google Listings and Ads plugin for WordPress. The specific warning is about the foreach() loop expecting an array or object as its argument, but receiving null instead.

    Here’s what you can do to help the developer troubleshoot and fix the issue:

    1. Check the Code at Line 472:
      Open the file MerchantStatuses.php located in /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/ and go to line 472. Look for the foreach() loop at that line and check how the array or object is being used. It’s likely that there’s an assumption of data being present, which is not the case when the value is null.
    2. Handle Null Values:
      Modify the code to handle the case where the array or object is null. You can add a conditional check before the foreach() loop to ensure that the variable being iterated is not null. For example: if (!is_null($yourArrayOrObject)) { foreach ($yourArrayOrObject as $item) { // your loop logic here } } else { // Handle the case when $yourArrayOrObject is null }
    3. Error Logging:
      It might be helpful to add some error logging to the code to output the value of the variable that is causing the issue. This can provide more information about why it’s becoming null. For example: error_log('Value of $yourArrayOrObject: ' . print_r($yourArrayOrObject, true));
    4. Submit a Bug Report:
      Reach out to the plugin developer and provide them with the details of the error, including the file and line number. You can submit a bug report on the plugin’s support forum, GitHub repository, or wherever the developer accepts bug reports.
    5. Temporary Fix:
      If you need a quick solution while waiting for the official fix, you can apply the code changes yourself (as described in steps 2 and 3). However, keep in mind that modifying plugin files directly may be overwritten during updates, so it’s best to keep a record of your changes.

    It’s not ok to have error logs fill up daily because the plugin can’t handle a null. And to suggest that it is is simply poor.

    • This reply was modified 8 months, 3 weeks ago by vorticy.

    I’m having this same line 472 error as well in my error log files. There are different variations but this is basically what they say. Each day has about 100 or so errors

    H01071: Got error ‘ PHP Warning: foreach() argument must be of type array|object, null given in /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/google-listings-and-ads/src/MerchantCenter/MerchantStatuses.php on line 472

    Thread Starter vorticy

    (@vorticy)

    Thank you @shameemreza

    Is there a reason why google does not provide conversion data for free listings? It is strange.

    I have auto-tagging turned on in Google merchant center. I am tracking via Google Analytics and “google/organic” users or sessions do not match the Free Listing “clicks”. I do see a “Shopping Free Listing” in session source platform but those users are much less than the Free Listing clicks. During the same period, there were 866 Shopping Free Listing users vs 20,664 Free listing clicks. There is also “Manual” at 60k and “(Not set)” at 30k in the Session source platform that contain the majority of the traffic.

    The goal is to get all these different tools working correctly. I’m not sure about the reports available in this plugin. Why they don’t show conversions is mysterious. Also, what exactly are the free listings and how are they different from “google/organic”

    Thread Starter vorticy

    (@vorticy)

    I read the information in the links you provided but neither discussed directly to the issues I’m concerned with. It would be helpful if you would be more specific. Like “free listings never show conversions because we didn’t think it would be useful information”. Or “free listings are only available for US impressions /clicks because no other country deserves it”. Please try to be specific.

    As for #2,

    https://www.dropbox.com/scl/fi/3gi5wgy77tsyplh67dc7w/Screenshot_20240131_044603_Chrome.jpg?rlkey=zf61ug9xl98ox7xaflr329tjf&dl=0

    https://www.dropbox.com/scl/fi/bluj8314sus1tbhojwals/Screenshot_20240131_044716_Chrome.jpg?rlkey=f5syiitej55xockj5ra0y271u&dl=0

    • This reply was modified 8 months, 3 weeks ago by vorticy.
    Thread Starter vorticy

    (@vorticy)

    Custom analytic metrics ??

    please and thank you.

    Thread Starter vorticy

    (@vorticy)

    Thank you for the reply. Perhaps there should be custom metrics and the ability to show or hide them. I would certainly hide the current Gross and Net sales as they are meaningless to me. I care mostly about real numbers that impact my cash flow. Shipping charges often include handling or they are flat fee like $10 but the real shipping costs are $15 or whatever.

    Thread Starter vorticy

    (@vorticy)

    well, the license server had this problem a year ago which after hours of research I helped resolve. It’s the same problem again and it’s taking them a week to even read the support I put on their site. They are not responsive to my support tickets. This problem downgrades my license and protection that I have set up goes away. So I have to go on here so that I get some attention. It’s bs.

    Thread Starter vorticy

    (@vorticy)

    I’ve tried submitting a support request on your website but have heard nothing back. I need to know if I can sync the production database with a backup that has the users that I deleted. Thanks

    Thread Starter vorticy

    (@vorticy)

    I have deleted over 2000 users. about 7500 orders now do not have users associated to them. I can retrieve from the backup. but I need to know how to do this. Trying to sync one database with another is beyond my level of expertise.

    To solve my 502 problem, I needed to select “Force redirect using sessions after the user is registered” in advanced tab. I created a “Registration Help” page to which the user is redirected to. There I provide information for the user on what to do and if things don’t work as expected.

Viewing 15 replies - 1 through 15 (of 50 total)