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

Fatal error when checking seed logs #203

Closed
steveworley opened this issue Dec 20, 2023 · 3 comments
Closed

Fatal error when checking seed logs #203

steveworley opened this issue Dec 20, 2023 · 3 comments
Labels
bug Something isn't working Drupal 7

Comments

@steveworley
Copy link
Contributor

 PHP Fatal error:  Uncaught TypeError: format_string(): Argument #2 ($args) must be of type array, bool given, called in /app/docroot/sites/all/modules/contrib/quantcdn/quant.module on line 818 and defined in /app/docroot/includes/bootstrap.inc:1868
Stack trace:
#0 /app/docroot/sites/all/modules/contrib/quantcdn/quant.module(818): format_string()
#1 /app/docroot/sites/all/modules/contrib/quantcdn/quant.module(727): quant_log_check_seed_results()
#2 /app/docroot/sites/all/modules/contrib/quantcdn/quant.module(548): quant_seed_file()
#3 /app/docroot/sites/all/modules/contrib/quantcdn/quant.module(443): quant_seed()
#4 /app/docroot/includes/bootstrap.inc(3871): _quant_post_entity_op()
#5 [internal function]: _drupal_shutdown_function()
#6 {main}
  thrown in /app/docroot/includes/bootstrap.inc on line 1868
@kepol
Copy link
Contributor

kepol commented Jan 4, 2024

Steps to reproduce?

@kepol kepol added the bug Something isn't working label Jan 4, 2024
@steveworley
Copy link
Contributor Author

I didn't get steps to reproduce, just the error messages. We can just add a defensive is_array when we call format_string and log more info if args is not an array.

@kepol
Copy link
Contributor

kepol commented Jan 6, 2024

Ported to d.o issue so closing. I'll work on this one.

https://www.drupal.org/project/quantcdn/issues/3412929

@kepol kepol closed this as completed Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drupal 7
Projects
None yet
Development

No branches or pull requests

2 participants