Home › Forums › UM Switcher › Errors with Um-Users
- This topic has 13 replies, 2 voices, and was last updated 7 years, 9 months ago by winsiders.
-
AuthorPosts
-
-
at #81225winsidersMember
Hello !
Your code :
wp-content/plugins/um-switcher/um-switcher.php on line 752
wp-content/plugins/um-switcher/um-switcher.php on line 817you forgot to test if the var exists :
if( isset($_REQUEST[‘filter’]) && $_REQUEST[‘filter’] == ‘subscribed’){Thx for update
great plugin.
cheers,
-
at #81226adminKeymaster
Hi winsiders,
Thanks for the headsup, this will be fixed in the next update.
cheers
-
at #81310winsidersMember
Hi,
On um-switcher.php few issues should be corrected :
function insert_into_database
line 326 : $product=array(); -> should be $product_id = array();There’s a notice about the ‘site_name’=>$sitename
line 376 : $sitename = um_get_option(‘mail_from’);Thanks,
William -
at #81311adminKeymaster
Hi William,
Thanks again, my guys will look into it.
Mike
-
at #81386winsidersMember
Hi, Mike,
Mmm, it’s embarassing.There’s a lot of errors inside this file : email_template_setting.php
When You save :
Error: [Table ‘xxxx.images’ doesn’t exist]
SHOW FULL COLUMNS FROMimages
Notice: Undefined index: checkboxemail in /www/wp-content/plugins/um-switcher/email_template_setting.php on line 24
Notice: Undefined index: image in /www/wp-content/plugins/um-switcher/email_template_setting.php on line 34
Notice: Undefined index: size in /www/wp-content/plugins/um-switcher/email_template_setting.php on line 42
Notice: Undefined index: tmp_name in /www/wp-content/plugins/um-switcher/email_template_setting.php on line 50This One :
$wpdb->insert( ‘images’, array( ‘image_url’ => $image_url ), array( ‘%s’ ) );‘images’ ??? where’s the $wpdb->prefix ???
There’ll be no image insert in the database. It should be :
$wpdb->insert( $table_woo, array( ‘header_image’ => $image_url ), array( ‘%s’ ) );And this BIG ONE line 27 :
if($checkboxemail == ‘yes’){
$checkboxemail = “yes”;
}else{
$checkboxemail = “no”;
}You’re joking ??? Non-sense code !!! If value is yes so it’s yes else it’s no… ???
Another thing: in um-switcher.php, you change the status of an order :
$order->update_status( ‘completed’ );
Why ?? I really can’t understand, cause the function is called from the hook ‘woocommerce_thankyou’, so it’s called after a successful purchase you don’t need to change the order status here. It’s a issue when you want to test and pay by chek.Sorry to write this here, but I must let you remember than I paid 35$ on envato to buy a serious plugin. It does the work I want, and I already said it’s great plugin, but I can’t accept this kind of error.
It’s sad cause it’s well thought out.
I engage you to look on the files of your plugin and please, correct the bugs.
Thanks for your support,
William- This reply was modified 7 years, 9 months ago by winsiders.
-
at #81407adminKeymaster
Hello William,
First of all let me be clear, I’m not a programmer and I have to rely on my staff and the reviewer at Codecayon. So if you’re calling this embarrassing, well I can’t say your right or wrong
But I can tell you that your input will be discussed tomorrow first thing.
-
at #81431adminKeymaster
Hello William,
My developer is saying that we have a update ready hopefully by tomorrow or Monday. Would you be interest to do a beta test run?
Mike
-
at #81435winsidersMember
Hi Mike,
At this moment, I code a plugin for a website who uses your plugin.
Yes, I can test it, cause it’s in progress, so i can rewind to the ancient version if something turn bad. And the fact it’s already online and not on localhost it’s an opportunity.
Note, I haven’t add the cron job yet.
Yes, send me a link to dl/ it.
Thx again -
at #81440adminKeymaster
Hi William,
You got mail 🙂Please let me now, if you find anything.
-
at #81468winsidersMember
Hi Mike,
I haven’t received your mail :/ -
at #81470adminKeymaster
That’s weird but anyway, look below and let me now when you got it.
Thanks
-
at #81491winsidersMember
Hi, Mike,
Sorry to reply only now, I’m coding a lot for a website these days.
I dl/ your files this morning and look at them quickly.I saw a mistake in um-switcher.php line 382
if(isset($days)){
$days = $loop[‘days’]+$UmWoTD_days;
}else{
$days=0;
}
if(isset($hours)){
$hours = $loop[‘hours’]+$UmWoTD_hours;
}else{
$hours=0;
}
if(isset($mins)){
$mins = $loop[‘mins’]+$UmWoTD_mins;
}else{
$mins=0;
}
/* this section below need to be removed */
$days = $loop[‘days’]+$UmWoTD_days;
$hours = $loop[‘hours’]+$UmWoTD_hours;
$mins = $loop[‘mins’]+$UmWoTD_mins;
/* — end remove —– */If I see something else, i’ll tell you.
Regards,
William -
at #81499winsidersMember
and this :
function my_media_lib_uploader_enqueue() {
wp_enqueue_media();
wp_register_script( ‘media-lib-uploader-js’, plugins_url( ‘media-lib-uploader.js’ , __FILE__ ), array(‘jquery’) );
wp_enqueue_script( ‘media-lib-uploader-js’ );
}
add_action(‘admin_enqueue_scripts’, ‘my_media_lib_uploader_enqueue’);You call a file who doesn’t exists… So an error in WP
I paste this here cause I simply meet an error in back office.
-
at #81500winsidersMember
<input id=”post-search-input” name=”s” value=”<?php echo $_GET[‘s’]; ?>” type=”search”>
If the ‘s’ isn’t set : notice php. Cause you need to put $_GET[‘s’] in a variable and test it or isset($_GET[‘s’])
Hello winsiders,
I have correct the code. Thank you for your suggestion.
-
-
AuthorPosts
- You must be logged in to reply to this topic.