Jump to content

TypeError in System Log


Go to solution Solved by Jim M,

Recommended Posts

I am seeing these in the system log. The page itself looks fine but topic is missing and this displays instead:

[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Restoring the Default Theme has the same result.

From the System Log:

The log entry was triggered by a guest (Guest)
1 hour ago
The URL of page the error occurred on was https://www.detectorprospector.com/topic/xxxxxxxx (deleted so as to not generate more errors)  


TypeError: array_keys(): Argument #1 ($array) must be of type array, int given in /usr/home/hersch/public_html/detectorprospector/system/Content/Item.php:6443
Stack trace:
#0 /usr/home/hersch/public_html/detectorprospector/system/Content/Item.php(6443): array_keys(0)
#1 /usr/home/hersch/public_html/detectorprospector/system/Theme/Theme.php(885) : eval()'d code(5129): IPS\Content\_Item->generateCommentMetaData(Array, '1')
#2 /usr/home/hersch/public_html/detectorprospector/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#3 /usr/home/hersch/public_html/detectorprospector/applications/forums/modules/front/forums/topic.php(643): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#4 /usr/home/hersch/public_html/detectorprospector/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#5 /usr/home/hersch/public_html/detectorprospector/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#6 /usr/home/hersch/public_html/detectorprospector/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#7 /usr/home/hersch/public_html/detectorprospector/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#8 /usr/home/hersch/public_html/detectorprospector/index.php(13): IPS\_Dispatcher->run()
#9 {main}
BACKTRACE
#0 /usr/home/hersch/public_html/detectorprospector/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error')
#1 /usr/home/hersch/public_html/detectorprospector/applications/forums/modules/front/forums/topic.php(643): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#2 /usr/home/hersch/public_html/detectorprospector/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#3 /usr/home/hersch/public_html/detectorprospector/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#4 /usr/home/hersch/public_html/detectorprospector/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#5 /usr/home/hersch/public_html/detectorprospector/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#6 /usr/home/hersch/public_html/detectorprospector/index.php(13): IPS\_Dispatcher->run()
#7 {main}
 

 

Any ideas?

 

Link to comment
Share on other sites

Hi @Steve Herschbach,

There is still "direct support" available.

Go to your Client Area -> Manage this purchase -> Create Request (underneath the Support Request heading)

Support is run collectively where the community can actively provide assistance in most instances. Considering the time in the USA was 1 am at the time you created this topic, it is highly unlikely you would have received a response straight away regardless. A member of the Invision Community Team will definitely assist soon if someone doesn't get to this beforehand.

Link to comment
Share on other sites

Yeah I did that before I was directed here by doing just that. It says my plan does not include email support but I’m not seeing what plan includes that. I used to be able to open a support request but no longer. No worries, I was not expecting Sunday support. But I am really hoping to get somebody that can figure this out eventually. Thanks.

Could contain: Text, Page

Link to comment
Share on other sites

I see there is a yearly subscription offer for the full suite versus the twice a year payment I am making for a couple modules. I do not need the extra modules at all, in fact had several and dropped them as extraneous to my main forum activity. I would be more than will to pay the small extra amount yearly however if it got me back a more direct line to support. The only reason I went with Invision subscription 13 years ago over open source alternatives was the promise of regular updates and more importantly, the ability to get support help when I have needed it. I have needed that support a handful of times over the last 13 years, worth every penny. So the cost is not the issue for me. As an older user though nothing I actually have done has ever changed. Invision changed their methods while I plugged along just paying twice a year, not really realizing it meant I could only get support via this forum.

When it rains it pours of course. I am headed into surgery for a hernia in a couple hours and will be indisposed the rest of the day after that. So I am really hoping I hear something from Invision in the next couple hours. It is why I posted last night, so it would be here first thing in the morning. If I should be using a different means to get support, should upgrade my subscription, need to just pay extra to get help, whatever. I just need help, please. Thanks.

Link to comment
Share on other sites

Support is direct here and the same level of support which you would receive via email but you start here in our community. As many individuals have similar questions, this gives you a space to search and receive help from similar experiences. It's worth noting that our typical business hours are still 8am to 5pm Eastern and our response time is within 72 hours.. However, we are a global company so we do respond outside of those hours. Our community also gives the ability for fellow customers to assist you during our off hours. We do have a member of our support staff out this week so are a little behind so I apologize for any delays there.

As this is a theme issue, I would suggest switching to an unmodified theme and trying again. If you're still having issues, please disable all third party applications/plugins and try again. If still having issues, please ensure all access details are up to date on file and we can take a look.

Link to comment
Share on other sites

As I said in my first message I have no plugins at all, tried the default theme, nothing worked. That’s why I am here. I’ve done all the things I was supposed to do and then came here for help. I have given the admin access in ACP. Not my first rodeo and repeatedly getting told my concerns and feedback as a paying customer are off base is getting a little old. I miss the old submit a ticket for support deal, sorry. But all I really want is help from an expert to get in and fix a problem I can’t fix.

Link to comment
Share on other sites

  • Solution

Please note that Gary is not an Invision Power Services employee. He is a client. I am sorry that you do not appreciate the new support workflow but you have not lost any support 🙂 . The same flow would have happened here but I can certainly pass along your concerns to our management.

I have transferred your issue to a ticket because it will require further digging by our team to see what is happening in this particular topic here to cause this issue.

Please watch your email for further correspondence. 

Link to comment
Share on other sites

1 hour ago, Jim M said:

Please note that Gary is not an Invision Power Services employee. He is a client. I am sorry that you do not appreciate the new support workflow but you have not lost any support 🙂 . The same flow would have happened here but I can certainly pass along your concerns to our management.

I have transferred your issue to a ticket because it will require further digging by our team to see what is happening in this particular topic here to cause this issue.

Please watch your email for further correspondence. 

Thank you Jim. Sorry if I am grumpy but dealing with this and imminent hernia surgery - well, I may not be in my best form at the moment. I have no plugins running. Minimal customiztion to theme. Latest PHP and mySQL. The same error is occurring every ten minutes or so, apparently because the page can't access the posts that are in reality still there. It is also slowing access in general. This happens with default theme running.

[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

I have granted admin rights and put the info in my client area. To be clear, I can appreciate the benefits of outsourcing support to the group wisdom here. But it can lead to a too many cooks situation instead of the intimate back and forth with one support specialist I was getting a decade ago. I would gladly, gladly pay more for some kind of premium support option. I am low maintenance but when I need help I really need it. Thanks again, and to anyone watching, Invision has been really good to me over the years. I'm just an old grumpy guy today - time catches up with us all.

I will try and check back in as best I can later today but am seriously hoping it's something as simple as a corrupted template that I do not know how to isolate and reinstall.

Link to comment
Share on other sites

No worries. I certainly hope the surgery goes well!

We certainly appreciate that this change was a departure from what has been done previously and that even though we've been doing this for almost 2 years now, some are not frequent support users. However, it is important to remember that even though things change, you aren't losing anything. We do ask for you to give it some time.

We have had some extremely strong voices against it but everyone who has used it, enjoys it more. We think it is important to have a support community rather than direct tickets when after-all, we sell community software and have long been saying for years forums are great for support. This has been our "eat your own dog food" moment 🙂 .

Please note that you should have an email in your inbox asking about further details so we can assist you. Please reply to the email once you have added those. Thanks.

 

Link to comment
Share on other sites

Ok, did not die on the operating table so thumbs up there. And thanks to efforts by Jim and Daniel the error has been eliminated. My pages based website and forum is running error free and faster than it has in a long time. So thank you gentlemen, I continue to be a happy Invision customer. And I promise to be more patient with new (two year old) support system should I ever need it again. 🙂

Link to comment
Share on other sites

10 hours ago, Steve Herschbach said:

Ok, did not die on the operating table so thumbs up there. And thanks to efforts by Jim and Daniel the error has been eliminated. My pages based website and forum is running error free and faster than it has in a long time. So thank you gentlemen, I continue to be a happy Invision customer. And I promise to be more patient with new (two year old) support system should I ever need it again. 🙂

Glad to hear that the surgery went well! 

Also, glad to hear that we were able to resolve things for you and the update has gotten things faster for you 🙂 . Hope we don't need to see you around the support-side of things (for errors at least 🙂 ) but certainly appreciate any patience/openness towards new support processes in the future.

Link to comment
Share on other sites

Posted (edited)

Spoke too soon, core_reactions_index just crashed, corrupt, took forum down, which is how this all started a month ago. Back then I cleared and rebuilt the index losing all the "likes" history, but it just perpetuated the problem, digging me a deeper hole. This time I have loaded a backup of the database from 24 hours ago, back up and running. But with the crashed version gone, will it be possible to figure out why it crashed? Frustrating.

Edited by Steve Herschbach
Link to comment
Share on other sites

2 hours ago, Steve Herschbach said:

But with the crashed version gone, will it be possible to figure out why it crashed? Frustrating.

I'm afraid, this is a question for your hosting provider. A large percentage of crashes happen due to hosting failures, blunders (e.g. improper restarts/shutdowns), misconfigurations, etc... rather than software intervention/usage. Working with them to back trace what happened here is imperative to ensuring it doesn't happen again, especially as you stated it has already happened once prior to this.

It could be that simply something is corrupted on the MySQL side for this to keep repeating. They would need to dig into it though.

I'm sorry we cannot be of more help at this time.

Link to comment
Share on other sites

Posted (edited)
5 hours ago, Jim M said:

I'm afraid, this is a question for your hosting provider. A large percentage of crashes happen due to hosting failures, blunders (e.g. improper restarts/shutdowns), misconfigurations, etc... rather than software intervention/usage. Working with them to back trace what happened here is imperative to ensuring it doesn't happen again, especially as you stated it has already happened once prior to this.

It could be that simply something is corrupted on the MySQL side for this to keep repeating. They would need to dig into it though.

I'm sorry we cannot be of more help at this time.

I have inquired with Pair. They are not fly by night but anyone can make mistakes.

Check your email - I am looking for a quote on moving my setup intact to Invision, and the monthly cost to run it based on what you folks have seen of my size. 640MB database, 40GB of server space (mostly images and pdf plus forum files), 1200GB of monthly bandwidth generated by 9000 page views a day.

Edited by Steve Herschbach
Link to comment
Share on other sites

18 minutes ago, Steve Herschbach said:

I have inquired with Pair. They are not fly by night but anyone can make mistakes.

Check your email - I am looking for a quote on moving my setup intact to Invision, and the monthly cost to run it based on what you folks have seen of my size. 640MB database, 40GB of server space (mostly images and pdf plus forum files), 1200GB of monthly bandwidth generated by 9000 page views a day.

I have moved your ticket to our sales team so you can converse with them about cost and the migration. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...