Jump to content

Showing full arguments in the stack trace


Recommended Posts

I'm getting error in a particular cron task. After running cron.php with "do SslSync -vvv" on the command line, the error message is something like:

[ERROR] exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION       
         'utf8_unicode_ci' is not valid for CHARACTER SET 'latin1'' in                                                  
         /home/foo/public_html/vendor/illuminate/database/Connection.php:333                          
         Stack trace:                                                                                                   
         #0 /home/foo/public_html/vendor/illuminate/database/Connection.php(333): PDO->prepare('select
         `userid`...')                                                                                                  
         #1 /home/foo/public_html/vendor/illuminate/database/Connection.php(706): 
         ...

Is there a way to see the string arguments in full? Tried StackOverflow, the proposed solutions involve changing the source code.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated