FZ Posted July 31, 2021 Posted July 31, 2021 I see my upgrade to 4.6.5.1 has caused half my clubs to fail with this: Error: Undefined class constant 'SELECT_SQL_CALC_FOUND_ROWS' (0) So, this has me questioning the usefulness of the Clubs feature as well as this enhancement. I really don't have the time or energy to be faced with this kind of admin every time there is a big upgrade. How do I revert my Clubs back into regular forums?
WP V0RT3X Posted July 31, 2021 Posted July 31, 2021 2 hours ago, IceCore said: I have already purchased for this one but I have only a full price? Works fine for me ...
Chris Anderson Posted August 8, 2021 Posted August 8, 2021 (edited) On 4/27/2021 at 12:33 PM, Chris Anderson said: The IPS Suite allows me to create nested forums as shown below: Your app allows you to create a forums only: Is there any way of creating nested forums within a club? If it isn't something currently available can such functionality be added? I would be willing to sponsor such functionality if it could be done. Here is a better example of nested menus I mentioned above. Would it be possible to be able to do the same thing for "Images", "Blog", "Events" and "Files" as well with the ability to reorder each menu? Edited August 8, 2021 by Chris Anderson
Giray Posted August 9, 2021 Posted August 9, 2021 On 5/3/2021 at 10:37 AM, Giray said: @InvisionHQ Ballpark question: would sub-forums in clubs be something you think you could add in a matter of a few weeks or several months? I'm just not sure of how difficult an ask this is. On 5/3/2021 at 10:47 AM, InvisionHQ said: Unfortunately I don't have an ETA, I will try to release everything this month, but I can't guarantee anything. There is also 4.6 around the corner and I need to review a lot of apps. Was wondering if sub-forums (or categories) was still on your roadmap? As you know there are several of us who would really love this. Thanks. Cowboy Denny and Lucas Thompson 1 1
InvisionHQ Posted August 12, 2021 Author Posted August 12, 2021 On 8/9/2021 at 10:36 AM, Giray said: Was wondering if sub-forums (or categories) was still on your roadmap? As you know there are several of us who would really love this. Thanks. Yes, but I'm still struggling with updating all the apps for 4.6. For renewal problems you have to open a ticket here on invision.
Chris Anderson Posted September 19, 2021 Posted September 19, 2021 When I setup my site to use PHP 7.4 this app works just fine. As soon as I switch to PHP 8.0 I receive the following error when I click on the clubs app: The same behavior on two other sites. Toggling back and forth between 8.0 and 7.4 yields the same results. No errors being logged.
InvisionHQ Posted September 26, 2021 Author Posted September 26, 2021 @Chris Anderson This is for sure a compatibility issue with php8. Have you access to server logs to check what caused the error?
Chris Anderson Posted September 26, 2021 Posted September 26, 2021 4 hours ago, InvisionHQ said: Have you access to server logs to check what caused the error? Using PHP 8.0.10 I installed the app once again. Disabled this app and navigated and used Clubs with no issue. Reenabled this app and I get the error message shown above. No errors shown in server logs or in the ACP. Clearing system caches has no effect. Reverting back to PHP 7.4.23 and it works as expected.
Chris Anderson Posted October 3, 2021 Posted October 3, 2021 On 9/26/2021 at 9:46 AM, Chris Anderson said: Using PHP 8.0.10 I installed the app once again. Disabled this app and navigated and used Clubs with no issue. Reenabled this app and I get the error message shown above. No errors shown in server logs or in the ACP. Clearing system caches has no effect. Reverting back to PHP 7.4.23 and it works as expected. Running Version 4.6.7 Beta 2 and PHP 8 with version 2.0.2 of this app and the problem persists. Still no errors being logged.
InvisionHQ Posted October 9, 2021 Author Posted October 9, 2021 On 10/3/2021 at 2:13 PM, Chris Anderson said: Running Version 4.6.7 Beta 2 and PHP 8 with version 2.0.2 of this app and the problem persists. Still no errors being logged. you were notified of a new update but in fact it was not. It was necessary to do this to regenerate the images in the marketplace. The update with php8 fixes will arrive next week.
Tripp★ Posted October 26, 2021 Posted October 26, 2021 (edited) Hello there. With the latest version of this application on the latest IPS; with PHP 7.4.x I'm getting an error whenever I, or anyone else goes to "Manage Club" > "Edit this Forum" on the front end. Instead of showing anything to edit, it simply shows an error: "Sorry, but something went wrong." In the system logs it records: TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /home/SITE/public_html/init.php(902) : eval()'d code on line 25 (0) #0 /home/SITE/public_html/init.php(902) : eval()'d code(25): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form), NULL) #1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club)) #2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm() #3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm() #4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute() #5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute() #6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute() #7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} #0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('TypeError: Argu...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError)) #2 {main} For URL: https://site.tld/clubs/123-a-club/?do=nodeForm&type=IPS%5Cforums%5CForum&node=456&csrfKey=(KEY_REDACTED) Edited October 26, 2021 by Tripp★
InvisionHQ Posted October 26, 2021 Author Posted October 26, 2021 @Tripp★ fix coming later today. Tripp★ 1
Tripp★ Posted October 27, 2021 Posted October 27, 2021 Hello there, thank you for your prompt action. I assume the fix you were referring to is in version 2.0.4? I've downloaded this however I'm still experiencing issues with this, but this time with a different error. It's no longer coming up with a "Type Error" but a "ArgumentCountErrror" ArgumentCountError: Too few arguments to function IPS\forums\_Forum::clubForm(), 1 passed in /home/SITE/public_html/init.php(902) : eval()'d code on line 21 and exactly 2 expected (0) #0 /home/SITE/public_html/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form)) #1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club)) #2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm() #3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm() #4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute() #5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute() #6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute() #7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} #0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('ArgumentCountEr...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(ArgumentCountError)) #2 {main} The URL has changed too, it now looks like: https://SITE.TLD/clubs/123-a-club/?do=nodeForm&type=IPS%5Cforums%5CForum&node=456 If 2.0.4 didn't fix this then I probably jumped the gun on it, but if it was supposed to then I figured I'd let you know about it.
InvisionHQ Posted October 27, 2021 Author Posted October 27, 2021 Happened always when you edit a feature?
Koper74 Posted October 27, 2021 Posted October 27, 2021 Have this error when trying to convert a forum/calendar to club feature:
InvisionHQ Posted October 27, 2021 Author Posted October 27, 2021 @Koper74 @Tripp★ Are any of you able to edit a file on the server so we can test it before sending a new release to the marketplace?
Koper74 Posted October 27, 2021 Posted October 27, 2021 43 minutes ago, InvisionHQ said: Are any of you able to edit a file on the server sure!
Tripp★ Posted October 27, 2021 Posted October 27, 2021 (edited) 7 hours ago, InvisionHQ said: Happened always when you edit a feature? 1 hour ago, InvisionHQ said: @Koper74 @Tripp★ Are any of you able to edit a file on the server so we can test it before sending a new release to the marketplace? Yes haven't tested it on anything else but always on Forum Features, and absolutely. Don't mind testing at all. Cheers. Edited October 27, 2021 by Tripp★
InvisionHQ Posted October 27, 2021 Author Posted October 27, 2021 (edited) I need to replicate this issue locally. Edited October 27, 2021 by InvisionHQ
Tripp★ Posted October 27, 2021 Posted October 27, 2021 Hello there. No, this didn't seem to solve the issue. I do get another error now though; TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /home/SITE/public_html/init.php(902) : eval()'d code on line 21 (0) #0 /home/SITE/public_html/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form), NULL) #1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club)) #2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm() #3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm() #4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute() #5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute() #6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute() #7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} #0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('TypeError: Argu...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError)) #2 {main}
Koper74 Posted October 27, 2021 Posted October 27, 2021 TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /httpdocs/init.php(902) : eval()'d code on line 21 (0) #0 /httpdocs/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm() #1 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm() #2 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub() #3 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #4 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute() #5 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute() #6 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run() #7 {main}
InvisionHQ Posted October 27, 2021 Author Posted October 27, 2021 yes right, I edited the post above. Please retry.
Koper74 Posted October 27, 2021 Posted October 27, 2021 (edited) 3 minutes ago, InvisionHQ said: yes right, I edited the post above. Please retry. ArgumentCountError: Too few arguments to function IPS\forums\clubsenhancements_hook_ceClubForums::clubForm(), 1 passed in /httpdocs/init.php(902) : eval()'d code on line 70 and exactly 2 expected (0) #0 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm() #1 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub() #2 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #3 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute() #4 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute() #5 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run() #6 {main} Edited October 27, 2021 by Koper74
InvisionHQ Posted October 27, 2021 Author Posted October 27, 2021 Can you please tell me how to reproduce the error step by step? I can't replicate it locally and so we're going too much by trial and error.
Recommended Posts