#3770 - Query failure after upgrade to 10.0.22
| Identifier | #3770 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Query failure after upgrade to 10.0.22 |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | cns_forum |
| Description | Just upgraded from 10.0.18 to 10.0.22 and now I'm getting an error when navigating to my Forums:
Unfortunately a query has failed [SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post LIMIT 0,30] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'last_post LIMIT 0,30' at line 1] (version: 10.0.22, PHP version: 5.6.40, URL: /forum/) Here is the stack trace: Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information. We apologize for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly. File '/home/bosslife/public_html/sources/failure.php' Line 976 Function 'get_html_trace' Args File '/home/bosslife/public_html/sources/global2.php' Line 1,043 Function '_fatal_exit' Args Tempcode -> Unfortunately a query has failed [SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post LIMIT 0,30] [<strong>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'last_post LIMIT 0,30' at line 1</strong>] File '/home/bosslife/public_html/sources/database/mysqli.php' Line 258 Function 'fatal_exit' Args Tempcode -> Unfortunately a query has failed [SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post LIMIT 0,30] [<strong>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'last_post LIMIT 0,30' at line 1</strong>] File '/home/bosslife/public_html/sources/database.php' Line 1,749 Function 'db_query' Class 'Database_Static_mysqli' Object O:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:51:"a:2:{i:0;s:13:"bosslife_main";i:1;s:9:"localhost";}";O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}}s:14:"last_select_db";a:2:{i:0;r:3;i:1;s:13:"bosslife_main";}s:16:"reconnected_once";b:0;} Type '->' Args 'SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post' array 30 0 false false false false File '/home/bosslife/public_html/sources/database.php' Line 1,521 Function '_query' Class 'DatabaseConnector' Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"cms_";s:15:"connection_read";a:2:{i:0;O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}i:1;s:13:"bosslife_main";}s:16:"connection_write";a:2:{i:0;r:4;i:1;s:13:"bosslife_main";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:51:"a:2:{i:0;s:13:"bosslife_main";i:1;s:9:"localhost";}";r:4;}s:14:"last_select_db";a:2:{i:0;r:4;i:1;s:13:"bosslife_main";}s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;} Type '->' Args 'SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post' 30 0 false false NULL '' File '/home/bosslife/public_html/sources/cns_forumview.php' Line 936 Function 'query' Class 'DatabaseConnector' Object O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"cms_";s:15:"connection_read";a:2:{i:0;O:6:"mysqli":19:{s:13:"affected_rows";N;s:11:"client_info";N;s:14:"client_version";N;s:13:"connect_errno";N;s:13:"connect_error";N;s:5:"errno";N;s:5:"error";N;s:10:"error_list";N;s:11:"field_count";N;s:9:"host_info";N;s:4:"info";N;s:9:"insert_id";N;s:11:"server_info";N;s:14:"server_version";N;s:4:"stat";N;s:8:"sqlstate";N;s:16:"protocol_version";N;s:9:"thread_id";N;s:13:"warning_count";N;}i:1;s:13:"bosslife_main";}s:16:"connection_write";a:2:{i:0;r:4;i:1;s:13:"bosslife_main";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:51:"a:2:{i:0;s:13:"bosslife_main";i:1;s:9:"localhost";}";r:4;}s:14:"last_select_db";a:2:{i:0;r:4;i:1;s:13:"bosslife_main";}s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;} Type '->' Args 'SELECT ttop.*,l_time,p_post,p_post__text_parsed,p_post__source_user FROM cms_f_topics ttop FORCE INDEX (topic_order_3) LEFT JOIN cms_f_read_logs l ON ttop.id=l.l_topic_id AND l.l_member_id=2 LEFT JOIN cms_f_posts p ON p.id=ttop.t_cache_first_post_id WHERE (t_forum_id=1)last_post' 30 0 File '/home/bosslife/public_html/sources/cns_forumview.php' Line 135 Function 'cns_get_forum_view' Args 1 array 0 0 30 'last_post' '' File '/home/bosslife/public_html/forum/pages/modules/forumview.php' Line 205 Function 'cns_render_forumview' Args 1 array '' 30 0 0 'last_post' '' ' ORDER BY t_cascading DESC,t_pinned DESC,t_cache_last_time DESC' NULL 1 NULL Tempcode -> ... File '/home/bosslife/public_html/sources/zones.php' Line 808 Function 'run' Class 'Module_forumview' Object O:16:"Module_forumview":5:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5c581f2e53a767.66059434_1";s:3065:"$tpl_funcs['tcpfunc_5c581f2e53a767.66059434_1']=$KEEP_TPL_FUNCS['tcpfunc_5c581f2e53a767.66059434_1']=recall_named_function('5c581f2e53a7d5.45335935','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo ecv_SET(\$cl,array(),array(\"comcode_page_icon\",ecv(\$cl,array(),0,\"CATALOGUE_ENTRY_FIELD_VALUE\",array(ecv(\$cl,array(),0,\"CATALOGUE_ENTRY_FOR\",array(\"comcode_page\",ecv_ZONE(\$cl,array(),array()).\":\".ecv_PAGE(\$cl,array(),array()))),\"1\")))),\n \"\\n\",\n (isset(\$bound_ID)?(\"\\n<a id=\\\"title__\".(empty(\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"ID/SCREEN_TITLE\")).\"\\\"></a>\\n\"):''),\n \"\\n\\n<h1 class=\\\"screen_title\\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\\"name\\\"\"):''),\n \">\\n \",\n ((ecv_GET(\$cl,array(),array(\"comcode_page_icon\"))!='')?(\"\\n <i class=\\\"\".ecv_GET(\$cl,array(),array(\"comcode_page_icon\")).\"\\\"></i>\\n \"):''),\n \"\\n \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"TITLE/SCREEN_TITLE\"),\n \"\\n\\n \",\n (isset(\$bound_AWARDS)?(\"\\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\")!='')?(\"\\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\\n <h2>Award winner</h2>\\n <p class=\\\"lonely_label\\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"AWARDS/SCREEN_TITLE\"))).\"\\n <ul>\\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('5c581f2e539357.05508036','\$parameters,\$cl',\"extract(\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\"\\\\n <li>\\\\n <strong>\\\".(empty(\\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\$bound_AWARD_TYPE)?\\\$bound_AWARD_TYPE:null,\\\"AWARD_TYPE/SCREEN_TITLE\\\")).\\\"</strong>\\\\n <span>\\\".ecv(\\\$cl,array(),2,\\\"AWARD_ON\\\",array(ecv_DATE(\\\$cl,array(1),array(\\\"1\\\",\\\"1\\\",\\\"1\\\",otp(isset(\\\$bound_AWARD_TIMESTAMP)?\\\$bound_AWARD_TIMESTAMP:null,\\\"AWARD_TIMESTAMP/SCREEN_TITLE\\\"))))).\\\"</span>\\\\n </li>\\\\n \\\";\")).\"\\n </ul>\\n \")).\"\\n <a href=\\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\\"><img onmouseover=\\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this,event,'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"','auto',null,null,false,true);\\\" title=\\\"\\\" alt=\\\"Award winner\\\" src=\\\"\".ecv_IMG(\$cl,array(1),array(\"awarded\",\"0\",\"Monarch\")).\"\\\" /></a>\\n \"):'').\"\\n \"):''),\n \"\\n</h1>\\n\\n\",\n (isset(\$bound_SUB)?(\"\\n <div class=\\\"title_tagline\\\">\\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SUB/SCREEN_TITLE\").\"\\n </div>\\n\"):''),\n \"\\n\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5c581f2e53a767.66059434_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5c581f332b7ec9.78023372_2";s:203:"$tpl_funcs['do_runtime_5c581f332b7ec9.78023372_2']="foreach (\$parameters as \$i=>\$p) { if (is_object(\$p)) \$parameters[\$i]=\$p->evaluate(); } echo ecv(\$cl,array(),2,\"NAMED_FORUM\",\$parameters);"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5c581f332b7ec9.78023372_2";i:1;a:1:{i:0;O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5c581f332b7ec9.78023372_1";s:215:"$tpl_funcs['do_runtime_5c581f332b7ec9.78023372_1']="echo ecv(\$cl,array(),4,\"FRACTIONAL_EDITABLE\",array(\"Community Forums\",\"name\",\"_SEARCH:admin_cns_forums:__edit_category:1\",\"0\",\"Community Forums\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5c581f332b7ec9.78023372_1";i:1;a:0:{}i:2;i:4;i:3;s:19:"FRACTIONAL_EDITABLE";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:1:{i:0;a:4:{i:0;a:0:{}i:1;i:4;i:2;s:19:"FRACTIONAL_EDITABLE";i:3;a:0:{}}}s:9:"pure_lang";N;s:8:"codename";s:10:":container";}}i:2;i:2;i:3;s:11:"NAMED_FORUM";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:1:{i:0;a:4:{i:0;a:0:{}i:1;i:4;i:2;s:19:"FRACTIONAL_EDITABLE";i:3;a:0:{}}}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:2:{i:0;a:4:{i:0;a:0:{}i:1;i:0;i:2;s:3:"SET";i:3;a:2:{i:0;O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:31:"tcpfunc_5c581f2e537935.28911499";s:194:"$tpl_funcs['tcpfunc_5c581f2e537935.28911499']=$KEEP_TPL_FUNCS['tcpfunc_5c581f2e537935.28911499']=recall_named_function('5c581f2e537960.89765113','$parameters,$cl',"echo \"comcode_page_icon\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:31:"tcpfunc_5c581f2e537935.28911499";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:10:":container";}i:1;O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:31:"tcpfunc_5c581f2e5379c9.44576278";s:373:"$tpl_funcs['tcpfunc_5c581f2e5379c9.44576278']=$KEEP_TPL_FUNCS['tcpfunc_5c581f2e5379c9.44576278']=recall_named_function('5c581f2e5379e2.66647990','$parameters,$cl',"echo ecv(\$cl,array(),0,\"CATALOGUE_ENTRY_FIELD_VALUE\",array(ecv(\$cl,array(),0,\"CATALOGUE_ENTRY_FOR\",array(\"comcode_page\",ecv_ZONE(\$cl,array(),array()).\":\".ecv_PAGE(\$cl,array(),array()))),\"1\"));");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:31:"tcpfunc_5c581f2e5379c9.44576278";i:1;R:9;i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:1:{i:0;a:4:{i:0;a:0:{}i:1;i:4;i:2;s:19:"FRACTIONAL_EDITABLE";i:3;a:0:{}}}s:9:"pure_lang";N;s:8:"codename";s:14:"<SCREEN_TITLE>";}}}i:1;a:4:{i:0;a:0:{}i:1;i:4;i:2;s:19:"FRACTIONAL_EDITABLE";i:3;a:0:{}}}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:2:"id";i:1;s:10:"forum_info";a:26:{s:2:"id";i:1;s:6:"f_name";s:16:"Community Forums";s:13:"f_description";s:0:"";s:19:"f_forum_grouping_id";i:1;s:14:"f_parent_forum";N;s:10:"f_position";i:1;s:17:"f_order_sub_alpha";i:0;s:22:"f_post_count_increment";i:1;s:16:"f_intro_question";s:0:"";s:14:"f_intro_answer";s:0:"";s:18:"f_cache_num_topics";i:0;s:17:"f_cache_num_posts";i:0;s:21:"f_cache_last_topic_id";N;s:18:"f_cache_last_title";s:0:"";s:17:"f_cache_last_time";N;s:21:"f_cache_last_username";s:0:"";s:22:"f_cache_last_member_id";N;s:21:"f_cache_last_forum_id";N;s:13:"f_redirection";s:0:"";s:7:"f_order";s:9:"last_post";s:13:"f_is_threaded";i:0;s:24:"f_allows_anonymous_posts";i:0;s:26:"f_description__text_parsed";s:0:"";s:26:"f_description__source_user";i:2;s:29:"f_intro_question__text_parsed";s:0:"";s:29:"f_intro_question__source_user";i:2;}s:11:"breadcrumbs";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5c581f294440f0.59706934_1";s:1633:"$tpl_funcs['tcpfunc_5c581f294440f0.59706934_1']=$KEEP_TPL_FUNCS['tcpfunc_5c581f294440f0.59706934_1']=recall_named_function('5c581f29444156.21492414','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo \"<a\",\n ((otp(isset(\$bound_TOOLTIP)?\$bound_TOOLTIP:null,\"TOOLTIP/BREADCRUMB_LINK_WRAP\")!='')?(\" title=\\\"\".ecv_STRIP_TAGS(\$cl,array(),array((empty(\$bound_TOOLTIP->pure_lang)?@htmlspecialchars(otp(isset(\$bound_TOOLTIP)?\$bound_TOOLTIP:null,\"TOOLTIP/BREADCRUMB_LINK_WRAP\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_TOOLTIP)?\$bound_TOOLTIP:null,\"TOOLTIP/BREADCRUMB_LINK_WRAP\")),\"1\")).\"\\\"\"):''),\n ((otp(isset(\$bound_TOOLTIP)?\$bound_TOOLTIP:null,\"TOOLTIP/BREADCRUMB_LINK_WRAP\")=='')?(\" title=\\\"\".ecv_STRIP_TAGS(\$cl,array(),array(ecv(\$cl,array(),2,\"GO_UPWARDS_TO\",array(apply_tempcode_escaping_inline(array(3),otp(isset(\$bound_LABEL)?\$bound_LABEL:null,\"LABEL/BREADCRUMB_LINK_WRAP\")))),\"1\")).\"\\\"\"):''),\n \" href=\\\"\",\n (empty(\$bound_URL->pure_lang)?@htmlspecialchars(otp(isset(\$bound_URL)?\$bound_URL:null,\"URL/BREADCRUMB_LINK_WRAP\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_URL)?\$bound_URL:null,\"URL/BREADCRUMB_LINK_WRAP\")),\n \"\\\" rel=\\\"up\\\">\",\n ecv_TRUNCATE_LEFT(\$cl,array(),array((empty(\$bound_LABEL->pure_lang)?@htmlspecialchars(otp(isset(\$bound_LABEL)?\$bound_LABEL:null,\"LABEL/BREADCRUMB_LINK_WRAP\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_LABEL)?\$bound_LABEL:null,\"LABEL/BREADCRUMB_LINK_WRAP\")),ecv(\$cl,array(),0,\"BREADCRUMB_CROP_LENGTH\",array()),\"1\",\"1\")),\n \"</a>\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5c581f294440f0.59706934_1";i:1;a:4:{s:5:"_GUID";s:32:"f7e8a83d61bde871ab182dec7da84ccc";s:5:"LABEL";s:16:"Community Forums";s:3:"URL";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5c581f332b7ec9.78023372_5";s:156:"$tpl_funcs['do_runtime_5c581f332b7ec9.78023372_5']="echo ecv_PAGE_LINK(\$cl,array(),array(\"forum:forumview:keep_forum_root=1\",\"0\",\"0\",\"0\",\"\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5c581f332b7ec9.78023372_5";i:1;a:5:{i:0;s:33:"forum:forumview:keep_forum_root=1";i:1;s:1:"0";i:2;s:1:"0";i:3;s:1:"0";i:4;s:0:"";}i:2;i:0;i:3;s:9:"PAGE_LINK";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:1:{i:0;a:4:{i:0;a:0:{}i:1;i:0;i:2;s:9:"PAGE_LINK";i:3;a:5:{i:0;s:33:"forum:forumview:keep_forum_root=1";i:1;s:1:"0";i:2;s:1:"0";i:3;s:1:"0";i:4;s:0:"";}}}s:9:"pure_lang";N;s:8:"codename";s:10:":container";}s:7:"TOOLTIP";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5c581f332b7ec9.78023372_4";s:105:"$tpl_funcs['do_runtime_5c581f332b7ec9.78023372_4']="echo ecv(\$cl,array(),2,\"VIRTUAL_ROOT\",array());"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5c581f332b7ec9.78023372_4";i:1;a:0:{}i:2;i:2;i:3;s:12:"VIRTUAL_ROOT";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:1:{i:0;a:4:{i:0;a:0:{}i:1;i:0;i:2;s:9:"PAGE_LINK";i:3;a:5:{i:0;s:33:"forum:forumview:keep_forum_root=1";i:1;s:1:"0";i:2;s:1:"0";i:3;s:1:"0";i:4;s:0:"";}}}s:9:"pure_lang";N;s:8:"codename";s:7:"(mixed)";}s:12:"of_member_id";N;} Type '->' Args File '/home/bosslife/public_html/sources/site.php' Line 1,219 Function 'load_module_page' Args 'forum/pages/modules/forumview.php' 'forumview' Tempcode -> ... File '/home/bosslife/public_html/sources/site.php' Line 925 Function 'request_page' Args 'forumview' true NULL NULL false false Tempcode -> ... File '/home/bosslife/public_html/forum/index.php' Line 59 Function 'do_site' Args |
| Steps to reproduce | |
| Additional information | Hopefully it doesn't have anything to do with the gap between versions. I've been hesitant to upgrade lately because it seems I break something each time I do. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
This suggests sources/cns_forumview.php is altered.
The stack trace shows it as non-overridden, but possibly that's due to the way you've overridden it (per-function override?).
Here's the commit where the changes were made so you can see what may need changing in overrides:
https://github.com/ocproducts/composr/commit/cc12ba513bba98470c46c9ab9df8cbc37306d74d#diff-b5d6972d58c1fcf3a46a522925df290c
Unfortunately sometimes we do have to change compatibility within internal files in patch releases, overrides always come with a risk.
I made the changes in your commit and now it's working. Thanks!