Login

Lost Password

Skip to content
  • Themedutch – webdesign agency Themedutch – webdesign agency
  • HOME
  • WP THEMES
  • PLUGINS
    • um-switcher
  • HELPDESK
    • Support forums
    • My tickets
    • Faq
    • Manuals
  • LOGIN
  • REGISTER
  • HOME
  • WP THEMES
  • PLUGINS
    • um-switcher
  • HELPDESK
    • Support forums
    • My tickets
    • Faq
    • Manuals
  • LOGIN
  • REGISTER
    Page Header Image

    Errors with Um-Users

    Winsiders
    0 Comment

    Errors with Um-Users

    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 Winsiderswinsiders.
    Viewing 13 reply threads
    • Author
      Posts
      • at #81225
        Winsiderswinsiders
        Member

        Hello !
        Your code :
        wp-content/plugins/um-switcher/um-switcher.php on line 752
        wp-content/plugins/um-switcher/um-switcher.php on line 817

        you forgot to test if the var exists :
        if( isset($_REQUEST[‘filter’]) && $_REQUEST[‘filter’] == ‘subscribed’){

        Thx for update

        great plugin.

        cheers,

      • at #81226
        admin
        Keymaster

        Hi winsiders,

        Thanks for the headsup, this will be fixed in the next update.

        cheers

      • at #81310
        Winsiderswinsiders
        Member

        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 #81311
        admin
        Keymaster

        Hi William,

        Thanks again, my guys will look into it.

        Mike

      • at #81386
        Winsiderswinsiders
        Member

        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 FROM images
        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 50

        This 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 Winsiderswinsiders.
      • at #81407
        admin
        Keymaster

        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 #81431
        admin
        Keymaster

        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 #81435
        Winsiderswinsiders
        Member

        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 #81440
        admin
        Keymaster

        Hi William,
        You got mail 🙂

        Please let me now, if you find anything.

      • at #81468
        Winsiderswinsiders
        Member

        Hi Mike,
        I haven’t received your mail :/

      • at #81470
        admin
        Keymaster

        That’s weird but anyway, look below and let me now when you got it.

        Thanks

      • at #81491
        Winsiderswinsiders
        Member

        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 #81499
        Winsiderswinsiders
        Member

        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 #81500
        Winsiderswinsiders
        Member

        <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.

    • Author
      Posts
    Viewing 13 reply threads
    • You must be logged in to reply to this topic.
    Log In
    © 2020 - THEMEDUTCH BV.