ErrorException (E_NOTICE)
HELP
Trying to get property of non-object
if ($this->settings->after_a_website_analysis == 0) {
$siteData->publish = 1;
$websiteCountry = Country::getCountryByCode($siteData->country_code);
$websiteCount = WebSite::getWebSiteCount($siteData->country_code);
$websiteCount++;
Country::updateWebSiteCount($websiteCountry->id, $websiteCount);
}
gibi hatalar aldım.