LordGoran
Forum Replies Created
-
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] wp-cron syntaxIt’s version 1.2 The WP MU install is 3.6.
Like I said, in our Multisite install all users for all sites are in a single table. I was not the person that set this up. I’m coming in second hand, and it’s been updated a few times. So I’m guessing that the base install is very old and could be from when the Multisite was first available.
Steve
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] wp-cron syntaxBy editing your code I got the email script to work.
It took editing the table name for
Users
you have in your get_cats function to match the database structure I have set-up in my Word Press Multisite.So if anyone else has the same issue I did, at line 134 of your send_mail.php change
".$wpdb->prefix."users
to the structure of your database. Likewp_users
for example.Steve
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] wp-cron syntaxIn the Word Press Multi site database the table
users
does not exist. Instead the database is set up as follows:
wp_users
is the table for the entire multi site.
wp_1_
would then be the prefix to the first word press website inside of the Multisite.So if your script is looking for
wp_1_users
it will never findwp_users
.I’m testing an edit I did to your code.
In the get_carts function I edited the code to look for a hard coded table name forwp_users
and not the $wpdb->prefix.”users.I’ll update if it works.
Steve
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] wp-cron syntaxOkay, I did some digging into your plugin.
After looking at your code I found the underlying problem.
My site is built on the Word Press Multi-site.
The database structure for pulling the user data is not the same as the stand along Word Press software.The error I was getting was Word Press’s way to say that it had a database error.
Unless you have a version of your plugin that works for the WP Multisite, I guess I’m out of luck.
Thanks!