﻿No valid database connection The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay SQL=SELECT SQL_BIG_RESULT COUNT(*) FROM jos_jstats_visits AS v LEFT JOIN jos_jstats_ipaddresses w ON (v.visitor_id=w.id) WHERE w.type=1 AND (v.visit_date>='1970-01-01' AND v.visit_date<='2018-11-20')