- This topic has 4 replies, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 4 reply threads
Viewing 4 reply threads
- The topic ‘Cron Job error’ is closed to new replies.
Home › Forums › UM Switcher › Cron Job error
Tagged: Cron Job
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?
Anyone out there? What happened to the 2-3 day support?
I’m so sorry I missed your post.
I think you have an older version installed, whats your current version?
/**
* 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
*/
Hi there, can you create a ticket and send me your ftp + admin login so we can have a quick look