After updating Joomla from 3 to 4, I got several errors which have seen to mostly go away. However, on launching the JEvents Dashboard, it launches, but at the top I get these errors:
<strong>Warning: Undefined property: stdClass::$type in httpdocs/administrator/components/com_jevents/install.php on line 619
Warning: Undefined property: stdClass::$type in httpdocs/administrator/components/com_jevents/install.php on line 625
Warning: Undefined property: stdClass::$type in httpdocs/administrator/components/com_jevents/install.php on line 983</strong>
Here is my config:
PHP Version : 8.0.26
MySQL Version : 5.7.33-cll-lve
Server Information : Linux lamp103.cloudaccess.net 3.10.0-962.3.2.lve1.5.24.7.el6h.x86_64 #1 SMP Mon Dec 17 12:02:35 EST 2018 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 10000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Joomla : 4.2.6
component_com_jevents : 3.6.45
component_com_jce : 2.9.32
module_mod_jevents_cal : 3.6.45
module_mod_jevents_custom : 3.6.45
module_mod_jevents_filter : 3.6.45
module_mod_jevents_latest : 3.6.45
module_mod_jevents_legend : 3.6.45
module_mod_jevents_switchview : 3.6.45
plugin_actionlog_jevents : 3.6.45 (not enabled)
plugin_content_jevents : 3.6.45
plugin_finder_jevents : 3.6.45
plugin_installer_jeventsinstaller : 3.6.45 (not enabled)
plugin_search_eventsearch : 3.6.45
plugin_system_gwejson : 3.6.45
And here are the lines of code it mentions:
619:
if (array_key_exists("contact", $cols) && strtoupper($cols['contact']->type) !== "VARCHAR(500)")
{
$sql = "ALTER TABLE #__jevents_vevdetail MODIFY COLUMN contact VARCHAR(500) NOT NULL default ''";
$db->setQuery($sql);
@$db->execute();
}
625:
if (array_key_exists("organizer", $cols) && strtoupper($cols['organizer']->type) !== "VARCHAR(500)")
{
$sql = "ALTER TABLE #__jevents_vevdetail MODIFY COLUMN organizer VARCHAR(500) NOT NULL default ''";
$db->setQuery($sql);
@$db->execute();
}
983:
if (array_key_exists("contact", $cols) && strtoupper($cols['contact']->type) !== "VARCHAR(500)")
{
$sql = "ALTER TABLE #__jevents_translation MODIFY COLUMN contact VARCHAR(500) NOT NULL default ''";
$db->setQuery($sql);
@$db->execute();
}
Any ideas?
Thank you