Getting an Error on CGCalendar

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Getting an Error on CGCalendar

Post by mlestat1131 »

Please see the site...
http://www.ohioyleaders.org

Warning: usort() expects parameter 1 to be array, null given in /home4/ab57106/public_html/ohioyleaders.org/lib/classes/class.usertagoperations.inc.php(304) : eval()'d code on line 7

CGCalendar 2.4.5

When trying to insert a new event I get this debug...

Debug: (0.253293) - (net usage: 12620432) - (peak: 13064312)
INSERT INTO cms_module_cgcalendar_event_field_values (field_name, event_id, field_value) VALUES ('Presenter',1,'Test')
debug

Any help would be appreciated.


System information below
Cms Version: 2.2.2
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.4
CGCalendar: 2.4.5
CGExtensions: 1.55.6
CGSimpleSmarty: 2.1.6
CGSmartImage: 1.21.9
CMSContentManager: 1.1.5
CMSMailer: 6.2.14
Captcha: 0.5.5
CmsJobManager: 0.1
CompanyDirectory: 1.23.5
DesignManager: 1.1.3
FileManager: 1.6.3
FilePicker: 1.0
FormBuilder: 0.8.1.6
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2
ModuleManager: 2.1.1
Navigator: 1.0.7
News: 2.51.2
Search: 1.51.2
Showtime2: 3.5.4
Snippet: 0.2.3
TinyMCE: 3.2-beta2

Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Chicago
permissive_smarty: false

Php Information:
phpversion: 5.5.37
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 80M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 15
php_opcache: Off (False)
smarty_cache: On (True)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.12.74-213.ELK6.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.51
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home4/ab57106/public_html/ohioyleaders.org/tmp (0755)
tmp_cache: /home4/ab57106/public_html/ohioyleaders.org/tmp/cache (0755)
templates_c: /home4/ab57106/public_html/ohioyleaders.org/tmp/templates_c (0755)
modules: /home4/ab57106/public_html/ohioyleaders.org/modules (0755)
uploads: /home4/ab57106/public_html/ohioyleaders.org/uploads (0755)
File Creation Mask (umask): /home4/ab57106/public_html/ohioyleaders.org/tmp/cache (0755)
config_file: 0444
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Getting an Error on CGCalendar

Post by calguy1000 »

This is not a CGCalendar issue... one of your UDT's is failing.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Getting an Error on CGCalendar

Post by mlestat1131 »

Any idea why this UDT would fail now when it worked in the past?

if (!function_exists('do_sort')) {
function do_sort($a, $b) {
return $a['event_summary'] > $b['event_summary'];
}
}
$data = $params['data'];
usort($data, 'do_sort');
$smarty->assign('sorted', $data);


I was wanting to sort the calendar event summaries...

Any help would be appreciated.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Getting an Error on CGCalendar

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Getting an Error on CGCalendar

Post by mlestat1131 »

Rolf, I did what you said, now I get this...

Warning: asort() expects parameter 1 to be array, null given in /home4/ab57106/public_html/ohioyleaders.org/lib/smarty/plugins/modifier.sort_array.php on line 14
Post Reply

Return to “Modules/Add-Ons”