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

Response setJSON body <?php{ problem #1430

Closed
byazrail opened this issue Nov 7, 2018 · 2 comments
Closed

Response setJSON body <?php{ problem #1430

byazrail opened this issue Nov 7, 2018 · 2 comments

Comments

@byazrail
Copy link
Contributor

byazrail commented Nov 7, 2018


name: Bug report
about: Help us improve the framework by reporting bugs!


Direction

Describe the bug
return $this->response->setJSON(['success' => true]);

page result;
<?php{ "success": true,

<?php tag problem?

CodeIgniter 4 version
Current Version not released version.

Context

  • OS: OSX Mojave
  • Web server Nginx
  • PHP version 7.1.23
@byazrail
Copy link
Contributor Author

byazrail commented Nov 7, 2018

@byazrail
Copy link
Contributor Author

byazrail commented Nov 8, 2018

Problem resolved;
another loaded helper.
<?php tag.
php tag not closed.

@byazrail byazrail closed this as completed Nov 8, 2018
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

1 participant