Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Referral Cronjob does not work #86

Closed
jkroepke opened this issue Nov 1, 2015 · 0 comments
Closed

Referral Cronjob does not work #86

jkroepke opened this issue Nov 1, 2015 · 0 comments

Comments

@jkroepke
Copy link
Owner

jkroepke commented Nov 1, 2015

[01-Nov-2015 13:10:14] USER ERROR: "SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

Query-Code:SELECT username, ref_id, id, lang, user.universe
FROM uni1_users user
INNER JOIN uni1_statpoints as stats
ON stats.id_owner = user.id AND stats.stat_type = :type AND stats.total_points >= 2000
WHERE user.ref_bonus = 1;"
File: /var/www/vhosts/euve84066.serverprofi24.de/httpdocs/includes/classes/Database.class.php | Line: 109
URL: euve84066.serverprofi24.de/cronjob.php?cronjobID=1 | Version: 1.8.git
Stack trace:
#0 /includes/classes/Database.class.php(176): Database->_query('SELECT usernam...', Array, 'select') #1 /includes/classes/cronjob/ReferralCronjob.class.php(53): Database->select('SELECT usernam...', Array)
#2 /includes/classes/Cronjob.class.php(68): ReferralCronJob->run()
#3 /cronjob.php(65): Cronjob::execute(1)
#4 {main}Referral

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant