Thursday, 15 December 2022
  2 Replies
  447 Visits
0
Votes
Undo
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
Bobot set the type of the post as  Technical — 1 year ago
1 year ago
·
#229085
0
Votes
Undo
There is a new release out this morning which resolves this - it was a typo and should have been "Type" not "type"

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

1 year ago
·
#229100
0
Votes
Undo
Thank you. I couldn't figure out how to get an update to the extension, but I manually edited the install.php file changing the bad "type" to "Type" and now the dashboard loads without error.
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.