JamesBrown
Well-known member
I have now. Threads look perfect on a mobile but on a tablet or laptop they are squished to the leftI have not had any reports of that not experienced it before. Have You tried wit all other addons disabed?
I have now. Threads look perfect on a mobile but on a tablet or laptop they are squished to the leftI have not had any reports of that not experienced it before. Have You tried wit all other addons disabed?
Fixed: An issue where content on group pages was squished to the left if you had a sidebar and advertisement set at "Content sidebar above".
We recently installed this and it seemed to be working well, until I tried to delete some test groups I had created.
I was under "Owner Tools" in the test group and began the deletion process. Not exactly sure which deletion option I chose first, but I ended up getting a cascade of errors (see attached file).
Now, when I, the group creator/owner, go to /community/groups, the two test groups are listed. When I click on a Test Group name (Group Test 3, in this instance), I am directed to:
domain/community/forums/group-test-3.82/
which gives a "Page not found" error.
When a non-member visits /community/groups, they can see my test groups (I set them to be visible to non-members), but when they click on the same test group name (Group Test 3), they are directed to:
domain/community/group/group-test-3.3/info
Which shows the group icon, info, and tabs. I realize this could be by design, because without the existing error condition I am owner/member and thus being directed to the group forum, while the other person isn't a member and is being directed to the area where membership can be requested.
I found I can access the "owner tools" by navigating to the /group/group-test-3.3/info URL, but any attempt to "delete group" or "delete main group forum" results in new errors.
I initially suspected that it was due to me having "hard delete" permission set to "No" in "Group owner permissions". But even with all permissions set to "yes" / "unlimited", the errors persist when attempting to delete the group.
Error list:
See attached for full error info.
Unfortunately I am unable to reproduce any of that. Can you give exact steps you did to get to this point?
I would say at this point, uninstall the addon and reinstall. That will remove all data associated with the addon. Start with a clean slate.
Error: Call to a member function getBehavior() on null in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1684
[LIST=1]
[*]Snog\Groups\Pub\Controller\Group->actionAdminForum() in src/XF/Mvc/Dispatcher.php at line 350
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
[*]XF\App->run() in src/XF.php at line 391
[*]XF::runApp() in index.php at line 20
[/LIST]
ErrorException: [E_WARNING] Creating default object from empty value in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1908
[LIST=1]
[*]XF::handlePhpError() in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1908
[*]Snog\Groups\Pub\Controller\Group->actionAdminGroup() in src/XF/Mvc/Dispatcher.php at line 350
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
[*]XF\App->run() in src/XF.php at line 391
[*]XF::runApp() in index.php at line 20
[/LIST]
Did a fresh install.
Followed these steps:
Now it takes me to the "info" page for the new test group (/community/group/fun-test-1.1/info).
- Left group owner/moderator/member permissions at default.
- Created node category "Private Groups" and specified it in "Social Groups -> Group Settings -> Forum Categories"
- Granted my usergroup (Admin) all "yes" permissions in "Social Groups" category.
- Created a test group with name "Fun Test 1" and description
- Checked: "create group forum"; "non-members can view"; "create media area"
- Unchecked: everything else
- Clicked "Submit"
Clicking the "Group Forum" tab directs me to: /community/forums/fun-test-1.87/ which generates a "page not found" error
Clicking Owner tools tab - "delete main group forum" brings up "please confirm you want to delete the following group forum: Fun Test 1", then I click "delete" and get another box: "Oops! We ran into some problems. You must create a forum or group discussion area".
If I repeat the above (Owner Tools - "Delete Main Group Forum") after that error, the confirmation dialog is a little different the second time - the group name is now missing from the confirmation dialog. It just says "please confirm you want to delete the following group forum" and then it's blank - group name is not there. If I click "delete" to confirm, I get a server error this time:
Code:Error: Call to a member function getBehavior() on null in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1684 [LIST=1] [*]Snog\Groups\Pub\Controller\Group->actionAdminForum() in src/XF/Mvc/Dispatcher.php at line 350 [*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261 [*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113 [*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55 [*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184 [*]XF\App->run() in src/XF.php at line 391 [*]XF::runApp() in index.php at line 20 [/LIST]
Owner Tools - "Delete Group Media" brings up "please confirm you want to delete the following: Fun Test 1 Media", then I click "delete" and gives me a success message. Seems to work. Delete Group Media no longer visible under "Owner Tools".
Owner Tools - "Delete Group" brings "please confirm you want to delete the following group: Fun Test 1", then I click "delete" and get server error:
Code:ErrorException: [E_WARNING] Creating default object from empty value in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1908 [LIST=1] [*]XF::handlePhpError() in src/addons/Snog/Groups/Pub/Controller/Group.php at line 1908 [*]Snog\Groups\Pub\Controller\Group->actionAdminGroup() in src/XF/Mvc/Dispatcher.php at line 350 [*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261 [*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113 [*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55 [*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184 [*]XF\App->run() in src/XF.php at line 391 [*]XF::runApp() in index.php at line 20 [/LIST]
Okay, that gives me something to try, I'll let you know once I have a chance to get it looked into.
OK it seems pretty unpredictable and hard to pin down.
I've created several dozen test groups, with "create group forum" always checked, and:
The only combination of the above that seems reliably error-free is the last one (both unchecked). That never generates the error.
- "media area" checked and "non-members can view" checked
- "media area" unchecked and "non-members can view" checked
- "media area" checked and "non-members can view" unchecked
- "media area" unchecked and "non-members can view" unchecked
The one that seems "worst" - i.e. most likely to generate errors - is #1, with them both checked. But combinations 1-3 almost always generate the error. So far, going on 50 groups now, #4 combination has never generated the error. All three other combos are unreliable, but usually generate the error.
Hope this helps.
Fix - Group not being deleted when the group forum is deleted and a group discussion area is not present
Fix - Group not being deleted when the group discussion area is deleted and a group forum is not present
Templates Changed:
snog_groups_actions
Phrases changed:
snog_groups_discussion_delete_warning
snog_groups_forum_delete_warning
We use essential cookies to make this site work, and optional cookies to enhance your experience.