Calendar Beta 8: Server Error when clicking on "Events" link on Member Card

Code:
Error Info
No controller response from NixFifty_Calendar_ControllerPublic_User::actionUser - library/XenForo/FrontController.php:504

Stack Trace
#0 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/FrontController.php(377): XenForo_FrontController->_handleControllerResponse(NULL, 'NixFifty_Calend...', 'User')
#1 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#2 /Applications/XAMPP/xamppfiles/htdocs/forum/index.php(13): XenForo_FrontController->run()
#3 {main}

Request State
Array
(
    [url] => http://localhost/forum/calendar/users/admin.1/
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

)
 
I don't see an Events link/listing on my members cards at all. Is there an ACP setting or option for this?
 
No, template modifications appear to be working fine ....
Screen Shot 2018-05-28 at 15.53.50.png
Screen Shot 2018-05-28 at 15.52.37.png

Not appearing for XF core/default style either.
 
This is probably due to your earlier import. Did you run the rebuilds, specifically the one that rebuilds user event counts?
Yes, all rebuilds have been run.
xf_user.nf_calendar_event_count is being populated correctly.
For the user in my screenshot above ...
Code:
mysql> select user_id, username, nf_calendar_event_count from xf_user where user_id = 53886;
+---------+----------+-------------------------+
| user_id | username | nf_calendar_event_count |
+---------+----------+-------------------------+
|   53886 | buzz22   |                       1 |
+---------+----------+-------------------------+
1 row in set (0.00 sec)
and
Code:
mysql> select user_id, nf_calendar_event_count from xf_user where nf_calendar_event_count > 0;

[...]

|   30479 |                      10 |
|   53058 |                      10 |
|   21240 |                      11 |
|   27807 |                      11 |
|   36195 |                      11 |
|   38078 |                      11 |
|   22523 |                      16 |
|   19425 |                      19 |
|   20128 |                      22 |
|   44049 |                      23 |
|   43026 |                      49 |
|   14584 |                      55 |
|   54790 |                      56 |
+---------+-------------------------+

265 rows in set (0.00 sec)


Code:
mysql> select sum(nf_calendar_event_count) from xf_user;
+------------------------------+
| sum(nf_calendar_event_count) |
+------------------------------+
|                          750 |
+------------------------------+
1 row in set (0.02 sec)

mysql> select count(user_id) from xf_nf_calendar_event where user_id != '';
+----------------+
| count(user_id) |
+----------------+
|            750 |
+----------------+
1 row in set (0.00 sec)
 
Last edited:
Back
Top