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

[3.0]: Errors logged in PHP log, not SMF log #8343

Open
sbulen opened this issue Nov 12, 2024 · 0 comments
Open

[3.0]: Errors logged in PHP log, not SMF log #8343

sbulen opened this issue Nov 12, 2024 · 0 comments

Comments

@sbulen
Copy link
Contributor

sbulen commented Nov 12, 2024

Basic Information

I've seen a fair amount of this, I think somewhere along the line our standard error routine gets stuffed in a locker...

I believe the most common factor is cron jobs, but one of these examples is being run via SMF\Forum->execute().

Some examples:
#8342 - Two issues, one was in the PHP log, not the SMF log; for the 2nd the error was in the .html for the export instead of any log at all.

#7898 - Error was in PHP log, not SMF log.

Steps to reproduce

  1. Revert [3.0] Some string recasts needed for exports #8342. Pretty simple - just remove the two "(string)" casts in Members.php.
  2. Run an HTML export and an XML export...
  3. Try & find the errors...

Expected result

All errors in the SMF log.

Actual result

Errors were in the PHP log or in the exported profile html file.

Version/Git revision

3.0 Alpha 2 - current GH

Database Engine

All

Database Version

8.4

PHP Version

8.3.8

Logs

No response

Additional Information

No response

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

No branches or pull requests

1 participant