Error Log Contents:
[2026-02-28 10:49:31] Form submitted {"post_data":{"question_count":"10","category_id":"system:105","question_type":"multiple_choice","category_context":"IPA, stouts, regional, hops"}}
[2026-02-28 10:49:31] DEBUG posted category_id = system:105
[2026-02-28 10:49:31] Single category: requesting questions {"category":"Beers","count":10}
[2026-02-28 10:49:31] === CHATGPT CALL START ===
[2026-02-28 10:49:31] Question count requested {"count":10,"prompt_length":179}
[2026-02-28 10:49:31] Max tokens allocated {"max":6000}
[2026-02-28 10:49:31] Calling OpenAI API
[2026-02-28 10:49:44] API Response received {"length":3481}
[2026-02-28 10:49:44] Content extracted {"length":2406}
[2026-02-28 10:49:44] Starting token logging
[2026-02-28 10:49:44] Tokens used {"input":124,"output":599,"total":723}
[2026-02-28 10:49:44] Starting JSON verification
[2026-02-28 10:49:44] Questions received {"requested":10,"received":10}
[2026-02-28 10:49:44] === CHATGPT CALL SUCCESS ===
[2026-02-28 10:49:44] Single category: initial questions received {"requested":10,"received":10}
[2026-02-28 10:49:44] Final question count before insertion {"count":10}
[2026-02-28 10:49:44] Question insertion complete for single category game {"game_id":303}
[28-Feb-2026 10:53:24 America/Los_Angeles] Full POST data: Array
(
[game_name] => Beers Trivia
[timer_seconds] => 45
[bad_word_filter] => 0
[auto_mode] => 0
[auto_mode_hide_answers] => 0
[music_category] =>
[music_track_id] =>
[existing_questions] => Array
(
[3213] => Array
(
[id] => 3213
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What does IPA stand for in beer terminology?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10541] => Indian Pale Ale
[10542] => International Pale Ale
[10543] => Imperial Pale Ale
[10544] => Irish Pale Ale
)
[correct_option] => 1
)
[3214] => Array
(
[id] => 3214
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which country is credited with the creation of the first stout?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10545] => Germany
[10546] => Ireland
[10547] => Belgium
[10548] => United States
)
[correct_option] => 2
)
[3215] => Array
(
[id] => 3215
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What hop variety is known for its high alpha acid content and is often used in IPAs?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10549] => Cascade
[10550] => Centennial
[10551] => Citra
[10552] => Simcoe
)
[correct_option] => 3
)
[3218] => Array
(
[id] => 3218
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which style of beer is characterized by a strong hop aroma and flavor?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10561] => Pilsner
[10562] => Porter
[10563] => IPA
[10564] => Saison
)
[correct_option] => 3
)
[3221] => Array
(
[id] => 3221
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What style of beer is known for being brewed with a large amount of roasted malt?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10573] => Pale Ale
[10574] => Stout
[10575] => Lager
[10576] => Wheat Beer
)
[correct_option] => 2
)
)
)
[28-Feb-2026 10:53:24 America/Los_Angeles] Number of new questions: 0
[28-Feb-2026 10:53:24 America/Los_Angeles] Full POST data for new questions: Array
(
)
[28-Feb-2026 10:53:24 America/Los_Angeles] No new questions received.
[28-Feb-2026 10:53:41 America/Los_Angeles] Full POST data: Array
(
[game_name] => Beers Trivia
[timer_seconds] => 30
[bad_word_filter] => 0
[auto_mode] => 1
[auto_mode_hide_answers] => 0
[music_category] =>
[music_track_id] =>
[existing_questions] => Array
(
[3213] => Array
(
[id] => 3213
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What does IPA stand for in beer terminology?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10541] => Indian Pale Ale
[10542] => International Pale Ale
[10543] => Imperial Pale Ale
[10544] => Irish Pale Ale
)
[correct_option] => 1
)
[3214] => Array
(
[id] => 3214
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which country is credited with the creation of the first stout?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10545] => Germany
[10546] => Ireland
[10547] => Belgium
[10548] => United States
)
[correct_option] => 2
)
[3215] => Array
(
[id] => 3215
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What hop variety is known for its high alpha acid content and is often used in IPAs?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10549] => Cascade
[10550] => Centennial
[10551] => Citra
[10552] => Simcoe
)
[correct_option] => 3
)
[3218] => Array
(
[id] => 3218
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which style of beer is characterized by a strong hop aroma and flavor?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10561] => Pilsner
[10562] => Porter
[10563] => IPA
[10564] => Saison
)
[correct_option] => 3
)
[3221] => Array
(
[id] => 3221
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What style of beer is known for being brewed with a large amount of roasted malt?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10573] => Pale Ale
[10574] => Stout
[10575] => Lager
[10576] => Wheat Beer
)
[correct_option] => 2
)
)
)
[28-Feb-2026 10:53:41 America/Los_Angeles] Number of new questions: 0
[28-Feb-2026 10:53:41 America/Los_Angeles] Full POST data for new questions: Array
(
)
[28-Feb-2026 10:53:41 America/Los_Angeles] No new questions received.
[28-Feb-2026 10:54:13 America/Los_Angeles] Full POST data: Array
(
[game_name] => Beers Trivia
[timer_seconds] => 30
[bad_word_filter] => 0
[auto_mode] => 1
[auto_mode_hide_answers] => 0
[music_category] => 12
[music_track_id] => 36
[existing_questions] => Array
(
[3213] => Array
(
[id] => 3213
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What does IPA stand for in beer terminology?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10541] => Indian Pale Ale
[10542] => International Pale Ale
[10543] => Imperial Pale Ale
[10544] => Irish Pale Ale
)
[correct_option] => 1
)
[3214] => Array
(
[id] => 3214
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which country is credited with the creation of the first stout?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10545] => Germany
[10546] => Ireland
[10547] => Belgium
[10548] => United States
)
[correct_option] => 2
)
[3215] => Array
(
[id] => 3215
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What hop variety is known for its high alpha acid content and is often used in IPAs?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10549] => Cascade
[10550] => Centennial
[10551] => Citra
[10552] => Simcoe
)
[correct_option] => 3
)
[3218] => Array
(
[id] => 3218
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which style of beer is characterized by a strong hop aroma and flavor?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10561] => Pilsner
[10562] => Porter
[10563] => IPA
[10564] => Saison
)
[correct_option] => 3
)
[3221] => Array
(
[id] => 3221
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What style of beer is known for being brewed with a large amount of roasted malt?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10573] => Pale Ale
[10574] => Stout
[10575] => Lager
[10576] => Wheat Beer
)
[correct_option] => 2
)
)
)
[28-Feb-2026 10:54:13 America/Los_Angeles] Number of new questions: 0
[28-Feb-2026 10:54:13 America/Los_Angeles] Full POST data for new questions: Array
(
)
[28-Feb-2026 10:54:13 America/Los_Angeles] No new questions received.
[2026-02-28 10:57:49] Form submitted {"post_data":{"question_count":"10","category_id":"system:105","question_type":"multiple_choice","category_context":"IPA, hops, stouts, regions, history"}}
[2026-02-28 10:57:49] DEBUG posted category_id = system:105
[2026-02-28 10:57:49] Single category: requesting questions {"category":"Beers","count":10}
[2026-02-28 10:57:49] === CHATGPT CALL START ===
[2026-02-28 10:57:49] Question count requested {"count":10,"prompt_length":187}
[2026-02-28 10:57:49] Max tokens allocated {"max":6000}
[2026-02-28 10:57:49] Calling OpenAI API
[2026-02-28 10:58:00] API Response received {"length":3557}
[2026-02-28 10:58:00] Content extracted {"length":2482}
[2026-02-28 10:58:00] Starting token logging
[2026-02-28 10:58:00] Tokens used {"input":126,"output":610,"total":736}
[2026-02-28 10:58:00] Starting JSON verification
[2026-02-28 10:58:00] Questions received {"requested":10,"received":10}
[2026-02-28 10:58:00] === CHATGPT CALL SUCCESS ===
[2026-02-28 10:58:00] Single category: initial questions received {"requested":10,"received":10}
[2026-02-28 10:58:00] Final question count before insertion {"count":10}
[2026-02-28 10:58:00] Question insertion complete for single category game {"game_id":304}
[28-Feb-2026 11:00:21 America/Los_Angeles] Full POST data: Array
(
[game_name] => Beers Trivia
[timer_seconds] => 30
[bad_word_filter] => 0
[auto_mode] => 1
[auto_mode_hide_answers] => 0
[music_category] => 12
[music_track_id] => 36
[existing_questions] => Array
(
[3223] => Array
(
[id] => 3223
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What does IPA stand for in the context of beer?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10581] => Indian Pale Ale
[10582] => India Pale Ale
[10583] => International Pale Ale
[10584] => Imperial Pale Ale
)
[correct_option] => 2
)
[3224] => Array
(
[id] => 3224
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which hop variety is known for its citrus and pine characteristics, commonly used in IPAs?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10585] => Cascade
[10586] => Saaz
[10587] => Hallertau
[10588] => Fuggle
)
[correct_option] => 1
)
[3225] => Array
(
[id] => 3225
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => What is the primary ingredient that gives stout its dark color?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10589] => Caramel malt
[10590] => Roasted barley
[10591] => Chocolate malt
[10592] => Black malt
)
[correct_option] => 2
)
[3226] => Array
(
[id] => 3226
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => In which country did the style of beer known as 'porter' originate?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10593] => Germany
[10594] => Belgium
[10595] => England
[10596] => Ireland
)
[correct_option] => 3
)
[3227] => Array
(
[id] => 3227
[question_type] => multiple_choice
[category_id] => system:105
[question_text] => Which US state is known for producing the most hops?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10597] => Oregon
[10598] => California
[10599] => Washington
[10600] => Idaho
)
[correct_option] => 3
)
)
)
[28-Feb-2026 11:00:21 America/Los_Angeles] Number of new questions: 0
[28-Feb-2026 11:00:21 America/Los_Angeles] Full POST data for new questions: Array
(
)
[28-Feb-2026 11:00:21 America/Los_Angeles] No new questions received.
[2026-02-28 14:20:40] Form submitted {"post_data":{"question_count":"10","category_id":"system:33","question_type":"multiple_choice","category_context":"broadway, actors, creators"}}
[2026-02-28 14:20:40] DEBUG posted category_id = system:33
[2026-02-28 14:20:40] Single category: requesting questions {"category":"Broadway & Musicals","count":10}
[2026-02-28 14:20:40] === CHATGPT CALL START ===
[2026-02-28 14:20:40] Question count requested {"count":10,"prompt_length":192}
[2026-02-28 14:20:40] Max tokens allocated {"max":6000}
[2026-02-28 14:20:40] Calling OpenAI API
[2026-02-28 14:20:51] API Response received {"length":3485}
[2026-02-28 14:20:51] Content extracted {"length":2410}
[2026-02-28 14:20:51] Starting token logging
[2026-02-28 14:20:51] Tokens used {"input":124,"output":605,"total":729}
[2026-02-28 14:20:51] Starting JSON verification
[2026-02-28 14:20:51] Questions received {"requested":10,"received":10}
[2026-02-28 14:20:51] === CHATGPT CALL SUCCESS ===
[2026-02-28 14:20:51] Single category: initial questions received {"requested":10,"received":10}
[2026-02-28 14:20:51] Final question count before insertion {"count":10}
[2026-02-28 14:20:51] Question insertion complete for single category game {"game_id":305}
[28-Feb-2026 14:21:20 America/Los_Angeles] Full POST data: Array
(
[game_name] => Broadway & Musicals Trivia
[timer_seconds] => 30
[bad_word_filter] => 0
[auto_mode] => 0
[auto_mode_hide_answers] => 0
[music_category] => 8
[music_track_id] => 16
[existing_questions] => Array
(
[3233] => Array
(
[id] => 3233
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Which musical features the song 'The Circle of Life'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10621] => Aida
[10622] => The Lion King
[10623] => Cats
[10624] => Wicked
)
[correct_option] => 2
)
[3234] => Array
(
[id] => 3234
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Who composed the music for the musical 'Hamilton'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10625] => Stephen Schwartz
[10626] => Lin-Manuel Miranda
[10627] => Jonathan Larson
[10628] => Andrew Lloyd Webber
)
[correct_option] => 2
)
[3235] => Array
(
[id] => 3235
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Which actress originated the role of Elphaba in 'Wicked'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10629] => Idina Menzel
[10630] => Kristin Chenoweth
[10631] => Lea Salonga
[10632] => Patti LuPone
)
[correct_option] => 1
)
[3236] => Array
(
[id] => 3236
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => What is the longest-running Broadway show of all time?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10633] => Les Misérables
[10634] => The Phantom of the Opera
[10635] => Chicago
[10636] => Cats
)
[correct_option] => 2
)
[3237] => Array
(
[id] => 3237
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => In which musical would you find the character of Jean Valjean?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10637] => Sweeney Todd
[10638] => Les Misérables
[10639] => Rent
[10640] => Miss Saigon
)
[correct_option] => 2
)
[3238] => Array
(
[id] => 3238
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Who wrote the book for 'Rent'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10641] => Lin-Manuel Miranda
[10642] => Jonathan Larson
[10643] => Stephen Sondheim
[10644] => Tom Kitt
)
[correct_option] => 2
)
[3239] => Array
(
[id] => 3239
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Which musical features the character of Alexander Hamilton?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10645] => 1776
[10646] => Hamilton
[10647] => Newsies
[10648] => In the Heights
)
[correct_option] => 2
)
[3240] => Array
(
[id] => 3240
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => What is the setting for the musical 'Chicago'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10649] => New York City
[10650] => Chicago
[10651] => Los Angeles
[10652] => Paris
)
[correct_option] => 2
)
[3241] => Array
(
[id] => 3241
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => Which musical is based on the life of a famous American playwright and composer?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10653] => Into the Woods
[10654] => Sunday in the Park with George
[10655] => Fiddler on the Roof
[10656] => Mamma Mia!
)
[correct_option] => 2
)
[3242] => Array
(
[id] => 3242
[question_type] => multiple_choice
[category_id] => system:33
[question_text] => What is the name of the fictional town in 'The Music Man'?
[image_path] =>
[audio_path] =>
[delete_audio] => 0
[options] => Array
(
[10657] => River City
[10658] => Springfield
[10659] => Shady Pines
[10660] => Mayberry
)
[correct_option] => 1
)
)
)
[28-Feb-2026 14:21:20 America/Los_Angeles] Number of new questions: 0
[28-Feb-2026 14:21:20 America/Los_Angeles] Full POST data for new questions: Array
(
)
[28-Feb-2026 14:21:20 America/Los_Angeles] No new questions received.