&gt;__invoke</span> <span class="stack-file"> CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-10"> <span class="stack-function">&rang; Cake\Error\Middleware\ErrorHandlerMiddleware-&gt;__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-11"> <span class="stack-function">&rang; Cake\Http\Runner-&gt;__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 51 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-12"> <span class="stack-function">&rang; Cake\Http\Runner-&gt;run</span> <span class="stack-file"> CORE/src/Http/Server.php, line 97 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-13"> <span class="stack-function">&rang; Cake\Http\Server-&gt;run</span> <span class="stack-file"> ROOT/webroot/index.php, line 40 </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $reasonPhrase = 'Internal Server Error'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 154
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /www/wwwroot/m.riyuzaixianfanyi.com/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]
Error: Call to a member function utf8_strlen() on bool

Call to a member function utf8_strlen() on bool Error

Documentation API
Error in: ROOT/src/Controller/WController.php, line 74

Could this be caused by using Auto-Tables?

Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.

This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:


Please try correcting the issue for the following table aliases:


If you want to customize this error message, create src/Template/Error/error500.ctp

toggle vendor stack frames