Giray Posted August 25, 2022 Posted August 25, 2022 Hi. I ran a rebuild of my 'existing content' to force all links to open in a new window. I'm now getting an error every fifteen or so minutes. Not sure if it's IPS, third party or server. Checking all around. Here is the error message sent from my cPanel. Thoughts? Thanks. Exception: RuntimeException Object ( [message:protected] => LOCATION_UNKNOWN [string:Exception:private] => [code:protected] => 0 [file:protected] => /home/*******/public_html/system/Session/Session.php [line:protected] => 61 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/*******/public_html/system/Member/Member.php [line] => 174 [function] => i [class] => IPS\_Session [type] => :: [args] => Array ( ) ) [1] => Array ( [file] => /home/*******/public_html/applications/faq/sources/Question/Question.php [line] => 185 [function] => loggedIn [class] => IPS\_Member [type] => :: [args] => Array ( ) ) [2] => Array ( [file] => /home/*******/public_html/system/Patterns/ActiveRecord.php [line] => 335 [function] => get_answer [class] => IPS\faq\_Question [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /home/*******/public_html/init.php(927) : eval()'d code [line] => 85 [function] => __get [class] => IPS\Patterns\_ActiveRecord [type] => -> [args] => Array ( [0] => answer ) ) [4] => Array ( [file] => /home/*******/public_html/applications/core/extensions/core/Queue/RebuildUrlRels.php [line] => 137 [function] => __get [class] => IPS\Content\templates_hook_TemplateItem [type] => -> [args] => Array ( [0] => answer ) ) [5] => Array ( [file] => /home/*******/public_html/system/Task/Task.php [line] => 47 [function] => run [class] => IPS\core\extensions\core\Queue\_RebuildUrlRels [type] => -> [args] => Array ( [0] => Array ( [class] => IPS\faq\Question [count] => 12 [realCount] => 10 [runPid] => 13 [indexed] => 0 ) [1] => 0 ) ) [6] => Array ( [file] => /home/*******/public_html/applications/core/tasks/queue.php [line] => 43 [function] => runQueue [class] => IPS\_Task [type] => :: [args] => Array ( ) ) [7] => Array ( [file] => /home/*******/public_html/system/Task/Task.php [line] => 367 [function] => IPS\core\tasks\{closure} [class] => IPS\core\tasks\_queue [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /home/*******/public_html/applications/core/tasks/queue.php [line] => 55 [function] => runUntilTimeout [class] => IPS\_Task [type] => -> [args] => Array ( [0] => Closure Object ( [this] => IPS\core\tasks\queue Object ( [caches:protected] => Array ( ) [_data:protected] => Array ( [id] => 3040 [app] => core [key] => queue [frequency] => P0Y0M0DT0H1M0S [next_run] => 1661452022 [running] => 1 [enabled] => 1 [plugin] => [lock_count] => 3 [last_run] => 1661432702 ) [_new:protected] => [changed] => Array ( [running] => 1 [next_run] => 1661452022 ) [skipCloneDuplication] => ) ) ) ) [9] => Array ( [file] => /home/*******/public_html/system/Task/Task.php [line] => 266 [function] => execute [class] => IPS\core\tasks\_queue [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /home/*******/public_html/system/Task/Task.php [line] => 229 [function] => run [class] => IPS\_Task [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /home/*******/public_html/applications/core/interface/task/task.php [line] => 58 [function] => runAndLog [class] => IPS\_Task [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => ) Â
Solution Daniel F Posted August 25, 2022 Solution Posted August 25, 2022 This seems to be an issue with the FAQ app [file] => /home/*******/public_html/applications/faq/sources/Question/Question.php which is using \IPS\Member::loggedIn() where it shouldn't be used. SeNioR- and Giray 1 1
Giray Posted August 25, 2022 Author Posted August 25, 2022 Not sure if it's related, but now all of a sudden I'm getting this one. Any relation? Any idea? Thanks so so much. Â <!DOCTYPE html> <html lang="en"> <head> <title>Error</title> <style type='text/css'> body { background: #f9f9f9; margin: 0; padding: 30px 20px; font-family: "Helvetica Neue", helvetica, arial, sans-serif; } #error { max-width: 800px; background: #fff; margin: 0 auto; } h1 { background: #151515; color: #fff; font-size: 22px; font-weight: 500; padding: 10px; } h1 span { color: #7a7a7a; font-size: 14px; font-weight: normal; } #content { padding: 20px; line-height: 1.6; } #reload_button { background: #151515; color: #fff; border: 0; line-height: 34px; padding: 0 15px; font-family: "Helvetica Neue", helvetica, arial, sans-serif; font-size: 14px; border-radius: 3px; } </style> </head> <body> <div id='error'> <h1>An error occurred <span>(500 Error)</span></h1> <div id='content'> We're sorry, but a temporary technical error has occurred which means we cannot display this site right now. <br><br> You can try again by clicking the button below, or try again later. <br><br> <button onclick="window.location.reload();" id='reload_button'>Try again</button> </div> </div> </body> </html> Â
Jim M Posted August 25, 2022 Posted August 25, 2022 1 hour ago, Giray said: Not sure if it's related, but now all of a sudden I'm getting this one. Any relation? Any idea? Thanks so so much. Â <!DOCTYPE html> <html lang="en"> <head> <title>Error</title> <style type='text/css'> body { background: #f9f9f9; margin: 0; padding: 30px 20px; font-family: "Helvetica Neue", helvetica, arial, sans-serif; } #error { max-width: 800px; background: #fff; margin: 0 auto; } h1 { background: #151515; color: #fff; font-size: 22px; font-weight: 500; padding: 10px; } h1 span { color: #7a7a7a; font-size: 14px; font-weight: normal; } #content { padding: 20px; line-height: 1.6; } #reload_button { background: #151515; color: #fff; border: 0; line-height: 34px; padding: 0 15px; font-family: "Helvetica Neue", helvetica, arial, sans-serif; font-size: 14px; border-radius: 3px; } </style> </head> <body> <div id='error'> <h1>An error occurred <span>(500 Error)</span></h1> <div id='content'> We're sorry, but a temporary technical error has occurred which means we cannot display this site right now. <br><br> You can try again by clicking the button below, or try again later. <br><br> <button onclick="window.location.reload();" id='reload_button'>Try again</button> </div> </div> </body> </html> Â This is the HTML page for a 500 Server Error. Are you still receiving this via CRON?
Giray Posted August 25, 2022 Author Posted August 25, 2022 Hi Jim. Yup, via Cron. So I went into my cPanel to see if the Cron matched the one on the site. Seems to. Re-entered it just in case. Now I'm waiting to see if it fixed it (don't think it did, but we'll see). In other news, still no feedback from E. at Headstand. That FAQ error is still going also.
Jim M Posted August 25, 2022 Posted August 25, 2022 I'd check your System Log for any errors but ultimately, CRON shouldn't be hitting that error, unless it was temporary while you were having another issue.
Giray Posted August 25, 2022 Author Posted August 25, 2022 Deactivated FAQ and all the errors stopped. 🙄
Giray Posted August 26, 2022 Author Posted August 26, 2022 Just to be fair, disabled then enabled FAQ and now all errors have gone. I think it needed a ‘reboot’ 🤔
Recommended Posts