Miss_B Posted August 24, 2021 Share Posted August 24, 2021 Link to comment Share on other sites More sharing options...
Goza Posted August 28, 2021 Share Posted August 28, 2021 A quick question, does this also include pages app (fields) as well? Link to comment Share on other sites More sharing options...
Miss_B Posted August 28, 2021 Author Share Posted August 28, 2021 2 hours ago, Goza said: A quick question, does this also include pages app (fields) as well? Hi. No, it is for forums only. Link to comment Share on other sites More sharing options...
Michael R Posted August 29, 2021 Share Posted August 29, 2021 Can this be set up for a specific forum? Link to comment Share on other sites More sharing options...
DawPi Posted August 29, 2021 Share Posted August 29, 2021 48 minutes ago, Michael R said: Can this be set up for a specific forum? I think so.... Miss_B 1 Link to comment Share on other sites More sharing options...
Miss_B Posted August 29, 2021 Author Share Posted August 29, 2021 Indeed. It can be set up for specific forums @Michael R. Michael R 1 Link to comment Share on other sites More sharing options...
CZOLGu Posted October 13, 2021 Share Posted October 13, 2021 Error: Call to a member function getNewTopicPlaceholderSettings() on null (0) #0 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/sources/Statuses/Status.php(350): IPS\Content\newtopicplaceholders_hook_newtopicplaceholderforms::formElements(NULL, NULL) #1 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/modules/front/members/profile.php(271): IPS\core\Statuses\_Status::formElements() #2 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/init.php(902) : eval()'d code(28): IPS\core\modules\front\members\_profile->manage() #3 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\members\hook756->manage() #4 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute() #5 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #6 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/index.php(13): IPS\_Dispatcher->run() #7 {main} any ideas? Link to comment Share on other sites More sharing options...
Miss_B Posted October 13, 2021 Author Share Posted October 13, 2021 27 minutes ago, CZOLGu said: Error: Call to a member function getNewTopicPlaceholderSettings() on null (0) #0 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/sources/Statuses/Status.php(350): IPS\Content\newtopicplaceholders_hook_newtopicplaceholderforms::formElements(NULL, NULL) #1 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/modules/front/members/profile.php(271): IPS\core\Statuses\_Status::formElements() #2 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/init.php(902) : eval()'d code(28): IPS\core\modules\front\members\_profile->manage() #3 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\members\hook756->manage() #4 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute() #5 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #6 /usr/home/tryhardujemypl/domains/tryhardujemy.pl/public_html/index.php(13): IPS\_Dispatcher->run() #7 {main} any ideas? Can you please tell me where are you getting this error? Link to comment Share on other sites More sharing options...
CZOLGu Posted October 13, 2021 Share Posted October 13, 2021 11 minutes ago, Miss_B said: Can you please tell me where are you getting this error? on profiles Link to comment Share on other sites More sharing options...
Miss_B Posted October 13, 2021 Author Share Posted October 13, 2021 Just now, CZOLGu said: on profiles I can not reproduce this myself. On whose profiles? Yours, someone 's else? The more details you give the better. Link to comment Share on other sites More sharing options...
CZOLGu Posted October 13, 2021 Share Posted October 13, 2021 (edited) 4 minutes ago, Miss_B said: I can not reproduce this myself. On whose profiles? Yours, someone 's else? The more details you give the better. all of them Edited October 13, 2021 by CZOLGu Link to comment Share on other sites More sharing options...
Miss_B Posted October 14, 2021 Author Share Posted October 14, 2021 17 hours ago, CZOLGu said: all of them Can you send me the url to a member 's profile at your forum? Link to comment Share on other sites More sharing options...
Daniel F Posted October 14, 2021 Share Posted October 14, 2021 I can confirm that the issue is in your code inside the newtopicplaceholders_hook_newtopicplaceholderforms hook. $placeholder = $container->getNewTopicPlaceholderSettings(); You're assuming that $container is set, but there are many cases where $container will be null, which is also indicated by the default values from the method declaration public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) Miss_B 1 Link to comment Share on other sites More sharing options...
Miss_B Posted October 14, 2021 Author Share Posted October 14, 2021 8 hours ago, Daniel F said: I can confirm that the issue is in your code inside the newtopicplaceholders_hook_newtopicplaceholderforms hook. $placeholder = $container->getNewTopicPlaceholderSettings(); You're assuming that $container is set, but there are many cases where $container will be null, which is also indicated by the default values from the method declaration public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) Thanks @Daniel F. I will look into getting the bug fixed a.s.a.p. Daniel F 1 Link to comment Share on other sites More sharing options...
CZOLGu Posted October 23, 2021 Share Posted October 23, 2021 Still outdated? Link to comment Share on other sites More sharing options...
Miss_B Posted October 23, 2021 Author Share Posted October 23, 2021 (edited) 43 minutes ago, CZOLGu said: Still outdated? I apologize for the delay but I have been extremly busy. I have sent you a new version of the app in a pm. Edited October 23, 2021 by Miss_B Link to comment Share on other sites More sharing options...
Miss_B Posted November 1, 2021 Author Share Posted November 1, 2021 The error reported by @CZOLGu has been fixed. A new version has been uploaded. Link to comment Share on other sites More sharing options...
Recommended Posts