Project

General

Profile

Actions

Feature #77274

closed

weird slashes in typo3temp/logs

Added by Franz Holzinger over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-07-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3 7.6.10:

I have an error "Oops, an error occurred! " Then I look into the log file at typo3temp/logs/typo3_0a5ca78503.log .

I see many weird slashes and double slashes.
This makes is hard to read. It would be easier to read if there would by no slashes and double backslashes for the class names. Then I could easily copy and paste the file name into a command shell and list it. Now I must manually remove many slashes.

Wed, 27 Jul 2016 18:51:31 +0200 [ALERT] request="42533f4f9b492" component="TYPO3.CMS.Frontend.ContentObject.Exception.ProductionExceptionHandler": Oops, an error occurred! Code: 201607271851308ebe691d - {"exception":"exception 'TYPO3\\CMS\\Core\\Error\\Exception' with message 'PHP Catchable Fatal Error: Argument 1 passed to TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer::render() must be an instance of TYPO3\\CMS\\Frontend\\ContentObject\\AbstractContentObject, null given, called in \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/frontend\/Classes\/ContentObject\/ContentObjectRenderer.php on line 1359 and defined in \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/frontend\/Classes\/ContentObject\/ContentObjectRenderer.php line 927' in \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/core\/Classes\/Error\/ErrorHandler.php:111\nStack trace:\n#0 \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/frontend\/Classes\/ContentObject\/ContentObjectRenderer.php(927): TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError(4096, 'Argument 1 pass...', '\/home\/myuser\/pu...', 927, Array)\n#1 \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/frontend\/Classes\/ContentObject\/ContentObjectRenderer.php(1359): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->render(NULL, Array)\n#2 \/home\/myuser\/public_html\/neu\/typo3conf\/ext\/tt_board\/lib\/class.tx_ttboard_pibase.php(720): TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer->FORM(Array)\n#3 \/home\/myuser\/public_html\/neu\/typo3conf\/ext\/tt_board\/lib\/class.tx_ttboard_pibase.php(192): tx_ttboard_pibase->forum_postform('POSTFORM', '206', '', '')\n#4 \/home\/myuser\/public_html\/neu\/typo3conf\/ext\/tt_board\/pi_list\/class.tx_ttboard_pi_list.php(127): tx_ttboard_pibase->processCode('POSTFORM', '')\n#5 [internal function]: tx_ttboard_pi_list->postForm('', Array)\n#6 \/home\/myuser\/public_html\/neu\/typo3_src-7.6.10\/typo3\/sysext\/frontend\/Classes\/ContentObject\/ContentObjectRenderer.php(7316): call_user_func_array(Array, Array)\n#7 


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #88120: [BUGFIX] FileWriter JSON outputClosed2019-04-09

Actions
Actions #1

Updated by Franz Holzinger over 7 years ago

It should look like this:

Wed, 27 Jul 2016 18:51:31 +0200 [ALERT] request="42533f4f9b492" component="TYPO3.CMS.Frontend.ContentObject.Exception.ProductionExceptionHandler": Oops, an error occurred! Code: 201607271851308ebe691d - {"exception":"exception 'TYPO3\CMS\Core\Error\Exception' with message 'PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::render() must be an instance of TYPO3\CMS\Frontend\ContentObject\AbstractContentObject, null given, called in /home/myuser/public_html/neu/typo3_src-7.6.10/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php on line 1359 and defined in /home/myuser/public_html/neu/typo3_src-7.6.10/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 927' in /home/myuser/public_html/neu/typo3_src-7.6.10/typo3/sysext/core/Classes/Error/ErrorHandler.php:111\nStack trace:\n#0 /home/myuser/public_html/neu/typo3_src-7.6.10/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(927): TYPO3\CMS\Core\Error\ErrorHandler->handleError(4096, 'Argument 1 pass...', '/home/myuser/pu...', 927, Array)\n#1 /home/myuser/public_html/neu/typo3_src-7.6.10/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(1359): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render(NULL, Array)\n#2 /home/myuser/public_html/neu/typo3conf/ext/tt_board/lib/class.tx_ttboard_pibase.php(720): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->FORM(Array)\n#3 /home/myuser/public_html/neu/typo3conf/ext/tt_board/lib/class.tx_ttboard_pibase.php(192): tx_ttboard_pibase->forum_postform('POSTFORM', '206', '', '')\n#4 /home/myuser/public_html/neu/typo3conf/ext/tt_board/pi_list/class.tx_ttboard_pi_list.php(127): tx_ttboard_pibase->processCode('POSTFORM', '')\n#5 [internal function]: tx_ttboard_pi_list->postForm('', Array)\n#6 
Actions #2

Updated by Andreas Kienast over 7 years ago

  • Status changed from New to Rejected

Sorry, but this is will not happen as this is the way how json_encode() works.

Actions #3

Updated by Markus Klein almost 5 years ago

  • Related to Task #88120: [BUGFIX] FileWriter JSON output added
Actions

Also available in: Atom PDF