TeamHawk Posted February 12 Posted February 12 Hello, my database is being filled with this template error from months. Can anybody help me to sort this problem? SYSTEM LOG Error: Call to a member function url() on null in /home/invitehawk/public_html/system/Theme/Theme.php(885) : eval()'d code:1957 Stack trace: #0 /home/invitehawk/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_store->categorySidebar() #1 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(389): IPS\Theme\_SandboxedTemplate->__call('categorySidebar', Array) #2 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(89): IPS\nexus\modules\front\store\_store->_indexView() #3 /home/invitehawk/public_html/init.php(934) : eval()'d code(15): IPS\nexus\modules\front\store\_store->manage() #4 /home/invitehawk/public_html/system/Dispatcher/Controller.php(118): IPS\nexus\modules\front\store\hook4974->manage() #5 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(70): IPS\Dispatcher\_Controller->execute() #6 /home/invitehawk/public_html/system/Dispatcher/Dispatcher.php(153): IPS\nexus\modules\front\store\_store->execute() #7 /home/invitehawk/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} BACKTRACE #0 /home/invitehawk/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error') #1 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(389): IPS\Theme\_SandboxedTemplate->__call('categorySidebar', Array) #2 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(89): IPS\nexus\modules\front\store\_store->_indexView() #3 /home/invitehawk/public_html/init.php(934) : eval()'d code(15): IPS\nexus\modules\front\store\_store->manage() #4 /home/invitehawk/public_html/system/Dispatcher/Controller.php(118): IPS\nexus\modules\front\store\hook4974->manage() #5 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(70): IPS\Dispatcher\_Controller->execute() #6 /home/invitehawk/public_html/system/Dispatcher/Dispatcher.php(153): IPS\nexus\modules\front\store\_store->execute() #7 /home/invitehawk/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} LOADED HOOKS applications/n2a/hooks/dispatcherStandard.php applications/brilliantclipboard/hooks/StandardDispatcherHook.php applications/axenfontawesome6/hooks/loadJSandCSS.php applications/brilliantdiscord/hooks/standardDispatcherCss.php applications/pcforumaddons/hooks/loadJSandCSS.php applications/testm/hooks/includeJSandCSS.php plugins/jqueryrecenttopicsticker/hooks/5c59bbbff0eac5b7d72e762e02311fdd.php plugins/bimgiphy/hooks/includeJSandCSS.php applications/furc/hooks/cf99cd34def832603658c904ade7faaf.php applications/nenewmemberindicator/hooks/dispatcher_front.php applications/donate/hooks/forceGuestAccess.php applications/memberssocialinfo/hooks/baseCss.php applications/kitchensink/hooks/ksFrontCssMerge.php applications/fakemembers/hooks/fakemembers.php applications/quickpostingtips/hooks/cssClasses.php applications/stickynotes/hooks/Outputs.php applications/feedback/hooks/FrontDispatcher.php applications/bdmoods/hooks/Dispatcher_Front.php applications/faq/hooks/FaqDispatcher.php applications/valanexuswishlist/hooks/valawishlist.php applications/memberscountry/hooks/dispatcherFront.php applications/chatbox/hooks/Dispatcher_Front.php applications/gms/hooks/gmsJSHook.php applications/widgetsextensions/hooks/core_dispatcher_front.php plugins/invk4trafficgeneratorre/hooks/tGen.php plugins/pmreplyfloodingcontrol/hooks/1dd54c665355ef9a92230fe55563d90e.php plugins/marknotificationreadfromtoast/hooks/DispatcherFront.php plugins/topicsautomatickeywordsmetatags/hooks/db41f469fc4ad3adadd77dbbec2c4bcf.php plugins/quickmanageforums/hooks/nupsRedirectMsg.php applications/autowelcome/hooks/validatehook.php applications/n2a/hooks/Member.php applications/donate/hooks/memberSource.php applications/form/hooks/memberSource.php applications/mtasks/hooks/memberClass.php applications/membersshop/hooks/MemberHook.php applications/bdmoods/hooks/Member.php applications/autoreplypms/hooks/memberModel.php applications/brilliantdiscord/hooks/member.php applications/chatbox/hooks/Member.php plugins/groupnameindicator/hooks/0a7a00036d391608c653ca6abf2a1d41.php plugins/introductionnotice/hooks/393ea305e4283b4bb763c2444a9a417c.php plugins/newmembersdefaults/hooks/nmdef.php plugins/clicktomention/hooks/ipsMember.php plugins/axensecondarygroupsindicator/hooks/aXenSGISortedGroups.php applications/chatbox/hooks/core_File.php plugins/clearnotifications/hooks/a2c19480d6f7796f01c69120f29651b7.php applications/appuserperm/hooks/applicationClass.php applications/customlinks/hooks/cCmsFields.php applications/donate/hooks/groupSource.php applications/form/hooks/groupSource.php applications/membersshop/hooks/GroupHook.php applications/pmviewer/hooks/pmviewerIPSMemberGroupCode.php applications/brilliantdiscord/hooks/group.php applications/deletemyaccount/hooks/dmaFURL.php applications/autoreplypms/hooks/friendlyUrl.php applications/customusericon/hooks/cuiFurl.php applications/memberscountry/hooks/friendlyUrl.php applications/memberaway/hooks/maFurl.php applications/neappedithistory/hooks/code_content_edithistory.php applications/customlinks/hooks/dp45customlinksContentCore.php applications/groupmention/hooks/groupmentionContentContent.php applications/brilliantdiscord/hooks/lateNotifications.php plugins/reasonforlockingtopics/hooks/contentModel.php plugins/hidefirstpostcontent/hooks/contentModel.php applications/messageauthorinfo/hooks/ItemModel.php applications/neappkindness/hooks/code_content_item.php applications/brilliantdiscord/hooks/contentNotifications.php applications/chatbox/hooks/Item.php plugins/sorttagsalphabetical/hooks/content_item.php plugins/similarcontentonpostscreen/hooks/contentItem.php plugins/predefinedtopicfields/hooks/predefinedTF.php plugins/moderateupdatedcontent/hooks/itemSource.php plugins/enhancedstore/hooks/store.php plugins/commercesearchbar/hooks/SearchBarStoreController.php applications/paymentopp/hooks/packageClass.php applications/pmsgs/hooks/packageClass.php applications/customvpc/hooks/packageClass.php plugins/tboutofstockpackages/hooks/tbOutOfStockPackages.php applications/customvpc/hooks/productClass.php
beats23 Posted February 12 Posted February 12 Same here. I have that error too. a solution would be great.
Jim M Posted February 12 Posted February 12 1 hour ago, searchisover said: IPS\nexus\modules\front\store\hook4974->manage() Would want to go to ACP -> Support -> on the right-hand side under "Tools & Diagnostics" -> click View Third party Hooks -> Find the number in the error stack above and try disabling the third party application/plugin. If that resolves your error, that third party application/plugin is the issue.
TeamHawk Posted February 12 Author Posted February 12 (edited) 17 minutes ago, Jim M said: Would want to go to ACP -> Support -> on the right-hand side under "Tools & Diagnostics" -> click View Third party Hooks -> Find the number in the error stack above and try disabling the third party application/plugin. If that resolves your error, that third party application/plugin is the issue. Even after taking all these measures, the error continues to persist. Error: Call to a member function url() on null in /home/invitehawk/public_html/system/Theme/Theme.php(885) : eval()'d code:1957 Stack trace: #0 /home/invitehawk/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_store->categorySidebar() #1 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(389): IPS\Theme\_SandboxedTemplate->__call('categorySidebar', Array) #2 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(89): IPS\nexus\modules\front\store\_store->_indexView() #3 /home/invitehawk/public_html/system/Dispatcher/Controller.php(118): IPS\nexus\modules\front\store\_store->manage() #4 /home/invitehawk/public_html/applications/nexus/modules/front/store/store.php(70): IPS\Dispatcher\_Controller->execute() #5 /home/invitehawk/public_html/system/Dispatcher/Dispatcher.php(153): IPS\nexus\modules\front\store\_store->execute() #6 /home/invitehawk/public_html/index.php(13): IPS\_Dispatcher->run() #7 {main} The URL of page the error occurred on was https://www.demoxyz.com/store/?filter[1]=1,4,10,11,2,8&tab=4 Edited February 12 by searchisover
Jim M Posted February 12 Posted February 12 That changed the stack trace so while I understand it didn't resolve it, you are making progress. Next step would be switching to an unmodified theme.
TeamHawk Posted February 12 Author Posted February 12 (edited) 6 minutes ago, Jim M said: That changed the stack trace so while I understand it didn't resolve it, you are making progress. Next step would be switching to an unmodified theme. I tried to use the unmodified default theme, browsing through my store, but still the same result. Something to do with the sidebar, category filters, i guess. Error is repeating 7 times whenever i visit my store. Edited February 12 by searchisover
Jim M Posted February 12 Posted February 12 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
TeamHawk Posted February 12 Author Posted February 12 5 minutes ago, Jim M said: We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you. I just updated my access information. You can access now.
Jim M Posted February 12 Posted February 12 With 438 hook poins and 70+ applications and 70+ plugins, I would strongly urge you to uninstall any which you are not using or are not 100% essential to your community. These can create issues even if they are disabled.
TeamHawk Posted February 12 Author Posted February 12 6 minutes ago, Jim M said: With 438 hook poins and 70+ applications and 70+ plugins, I would strongly urge you to uninstall any which you are not using or are not 100% essential to your community. These can create issues even if they are disabled. The foundation of my site is built upon a complex architecture. Through the use of various applications and plugins, I have managed to acquire all the necessary functionalities required to run the site effectively. However, I am open to your suggestion of going through each application and plugin to uninstall any components that are no longer needed. Can you identify the root cause of error precisely?
Jim M Posted February 12 Posted February 12 10 minutes ago, searchisover said: The foundation of my site is built upon a complex architecture. Through the use of various applications and plugins, I have managed to acquire all the necessary functionalities required to run the site effectively. However, I am open to your suggestion of going through each application and plugin to uninstall any components that are no longer needed. Can you identify the root cause of error precisely? I'm afraid, we cannot with that high number of third party add-ons. It is, unfortunately, impeding any further testing.
Randy Calvert Posted February 12 Posted February 12 I would suggest creating a test instance of your site and using it to test removing plugins/apps one by one till you find your problem. TeamHawk 1
TeamHawk Posted February 12 Author Posted February 12 (edited) 7 minutes ago, Randy Calvert said: I would suggest creating a test instance of your site and using it to test removing plugins/apps one by one till you find your problem. Thank you so much for your suggestion! I really appreciate it. I'm going to give it a try and see if it helps solve this problem. It might take some time, but I think it's definitely worth a shot. It seems like the only way to go. Edited February 12 by searchisover
Nathan Explosion Posted February 13 Posted February 13 (edited) Deleted - can't be bothered with potential further engagement Edited February 13 by Nathan Explosion
TeamHawk Posted February 14 Author Posted February 14 @Jim M I've gone ahead and installed a test version of my website, and I've been systematically removing each plugin and app one by one. Surprisingly, even after removing all of them, I'm still unable to resolve this error. Is there anyone who could kindly help me out with this? It's quite frustrating as my site keeps crashing, and I have to reboot the server every time just to bring it back online. I have mentioned test site credentials in the notes section of Stored Access Information. Please take a look.
TeamHawk Posted February 14 Author Posted February 14 (edited) @Marc Stridgen Yes, i do have custom blocks. Feel free to remove them on a test site to see if that helps. Edited February 14 by searchisover
Marc Posted February 14 Posted February 14 Try just removing the code on them on your test site one at a time, and see if it comes back. I suspect it will
TeamHawk Posted February 14 Author Posted February 14 (edited) 5 minutes ago, Marc Stridgen said: Try just removing the code on them on your test site one at a time, and see if it comes back. I suspect it will I just removed all of them but still the error. Error is showing in the category filters: /store/?tab=7&filter[3]=1&csrfKey=f35aa1853c7cc86baf280ca44faa73dc [[Template nexus/front/store/categorySidebar is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Edited February 14 by searchisover
Marc Posted February 14 Posted February 14 Please ensure that cloudflare is disabled on the test site too
TeamHawk Posted February 14 Author Posted February 14 5 minutes ago, Marc Stridgen said: Please ensure that cloudflare is disabled on the test site too Yes, i have disabled it.
Marc Posted February 14 Posted February 14 I have created a ticket for you on this, so we can take a closer look.
TeamHawk Posted February 14 Author Posted February 14 Just now, Marc Stridgen said: I have created a ticket for you on this, so we can take a closer look. Marc, I really appreciate your help. I'm eagerly awaiting the solution.
TeamHawk Posted February 14 Author Posted February 14 2 hours ago, beats23 said: Can you post the solution after support looks at this? Absolutely! Rest assured, I'll make sure to share a solution that will be of great help to others. Currently, this issue has caused my entire website to go offline. The CPU resources were maxed out, but I remain optimistic that a speedy solution will be found. beats23 1
Recommended Posts