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

    Cron Job error

    Spencerdesmond
    0 Comment

    Cron Job error

    Home › Forums › UM Switcher › Cron Job error

    Tagged: Cron Job

    • This topic has 4 replies, 2 voices, and was last updated 7 years, 4 months ago by admin.
    Viewing 4 reply threads
    • Author
      Posts
      • at #82048
        Spencerdesmondspencerdesmond
        Blocked

        I set up my cron job and have two issues. First the $settings array is blank even after I filled out the fields in um-switcher settings.

        To get around that, I just hard-coded the values in here:

         $servername = "myservername"; /**Enter Your Database Servername*/
         $username = "myusername"; /**Enter Your Database Username*/
         $password = "mypass"; /**Enter Your Database Password*/
         $dbname = "mydbname"; /**Enter Your Database Databasename*/
         $prefix = "prefix_"; /** Enter Your Database Prefix*/
         $base_prefix = "prefix_; /** Enter Your Database Base Prefix if you are using multisite or Database Prefix If you are not using multisite*/

        I’m now getting the following error:
        Catchable fatal error: Object of class mysqli could not be converted to string in /home2/username/public_html/wp-content/plugins/um-switcher/cron.php on line 20

        Any help?

        • This topic was modified 7 years, 5 months ago by Spencerdesmondspencerdesmond.
      • at #82084
        Spencerdesmondspencerdesmond
        Blocked

        Anyone out there? What happened to the 2-3 day support?

      • at #82085
        admin
        Keymaster

        I’m so sorry I missed your post.

        I think you have an older version installed, whats your current version?

      • at #82086
        Spencerdesmondspencerdesmond
        Blocked

        /**
        * Plugin Name: UM-Switcher
        * Plugin URI: https://www.umswitcher.com
        * Description: Extension for Ultimate Member to create a subscription product for Woocommerce.The complete solution for restricted paid content based on community roles with email reminders.
        * Version: 2.0.5
        * Author: Themedutch BV
        * Author URI: http://www.theme-dutch.com
        * Text Domain: umwotd
        */

      • at #82087
        admin
        Keymaster

        Hi there, can you create a ticket and send me your ftp + admin login so we can have a quick look

    • Author
      Posts
    Viewing 4 reply threads
    • The topic ‘Cron Job error’ is closed to new replies.
    © 2020 - THEMEDUTCH BV.