Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in log viewer #476

Open
Sogl opened this issue Dec 25, 2015 · 1 comment
Open

Bug in log viewer #476

Sogl opened this issue Dec 25, 2015 · 1 comment

Comments

@Sogl
Copy link

Sogl commented Dec 25, 2015

Hi!

Last page not working in log (users management). Sometimes not working 1st page or page between first and last.

Screen:
image

500 error:

"NetworkError: 500 Internal Server Error - http://aviashelf/kwf/user/log/json-data"

Error in json-data:

<br />
<b>Fatal error</b>:  Call to a member function __toString() on a non-object in <b>C:\OpenServer\domains
\aviashelf\vendor\koala-framework\koala-framework\Kwf\User\MessageRow.php</b> on line <b>21</b><br /
>
<html>
    <head>
        <title>500 Internal Server Error</title>
    </head>
    <body>
        <h1>Error</h1>

                    Errortype:<br />
            <pre></pre>

            <br />

            Message:<br />
            <pre>exception 'ErrorException' with message 'Call to a member function __toString() on a
 non-object' in C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\User\MessageRow
.php:21
Stack trace:
#0 [internal function]: Kwf_Setup::shutDown()
#1 {main}</pre>
                                    <p id="exception" style="display:none">czoyNjY6ImV4Y2VwdGlvbiAnR
XJyb3JFeGNlcHRpb24nIHdpdGggbWVzc2FnZSAnQ2FsbCB0byBhIG1lbWJlciBmdW5jdGlvbiBfX3RvU3RyaW5nKCkgb24gYSBub
24tb2JqZWN0JyBpbiBDOlxPcGVuU2VydmVyXGRvbWFpbnNcYXZpYXNoZWxmXHZlbmRvclxrb2FsYS1mcmFtZXdvcmtca29hbGEtZ
nJhbWV3b3JrXEt3ZlxVc2VyXE1lc3NhZ2VSb3cucGhwOjIxClN0YWNrIHRyYWNlOgojMCBbaW50ZXJuYWwgZnVuY3Rpb25dOiBLd2ZfU2V0dXA6OnNodXREb3duKCkKIzEge21haW59Ijs
=</p>            </body>
</html>

Also:

SyntaxError: expected expression, got '<'
(<br />
@nsams
Copy link
Member

nsams commented Jan 9, 2016

Check the line the exception is showing: vendor\koala-framework\koala-framework\Kwf\User\MessageRow.php on line 21

Seems there is an entry in the log referencing an user id (the user who did this operation) which doesn't exist anymore. This should not happen except someone manually deletes entries from kwf_users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants