TTemplateException

Description

Invalid template syntax: [Warning] Declaration of CSelectActive::onPreRender() should be compatible with TActiveDropDownList::onPreRender($param) (@line 6 in file /home/biota/public_html/AdminBiota/protected/componentes/web/CSelectActive.php).

Source File

/home/biota/public_html/AdminBiota/protected/pages/Maestros/Factura/Home.page (22)

0011:  
0012:         <table class="Record" cellspacing="0" cellpadding="0">
0013:           <tr class="Error">
0014:             <td colspan="2"><com:TLabel ID="mensaje" /></td> 
0015:           </tr>
0016:           <tr class="Controls">
0017:             <th>Nombre</th>
0018:             <td><com:TTextBox ID="Codigo" /></td> 
0019:           </tr>
0020:           <tr class="Controls">
0021:             <th>Cliente</th>
0022: <td><com:CSelectActive ID="cliente_codigo" Tabla="cliente" CampoVista="nombre" CampoCodigo="codigo"/>
0023: </td> 0024: </tr> 0025: <tr class="Controls"> 0026: <th>Estado</th> 0027: <td><com:TDropDownList ID="Estado"> 0028: <com:TListItem Value="" Text="" Selected="true" /> 0029: <com:TListItem Value="ABIERTO" Text=ABIERTO" /> 0030: <com:TListItem Value="ANULADO" Text="ANULADO" /> 0031: </com:TDropDownList> 0032: </td> 0033: </tr> 0034:

Stack Trace

#0 /home/biota/public_html/AdminBiota/lib/prado/Web/UI/TTemplateManager.php(771): TTemplate->handleException(Object(TPhpErrorException), 22, '<%@ Title="Pagi...')
#1 /home/biota/public_html/AdminBiota/lib/prado/Web/UI/TTemplateManager.php(248): TTemplate->parse('<%@ Title="Pagi...')
#2 /home/biota/public_html/AdminBiota/lib/prado/Web/UI/TTemplateManager.php(82): TTemplate->__construct('<%@ Title="Pagi...', '/home/biota/pub...', '/home/biota/pub...')
#3 /home/biota/public_html/AdminBiota/lib/prado/Web/Services/TPageService.php(460): TTemplateManager->getTemplateByFileName('/home/biota/pub...')
#4 /home/biota/public_html/AdminBiota/lib/prado/Web/Services/TPageService.php(419): TPageService->createPage('Maestros.Factur...')
#5 /home/biota/public_html/AdminBiota/lib/prado/TApplication.php(1095): TPageService->run()
#6 /home/biota/public_html/AdminBiota/lib/prado/TApplication.php(382): TApplication->runService()
#7 /home/biota/public_html/AdminBiota/index.php(22): TApplication->run()
#8 {main}
2026-04-18 06:14 LiteSpeed PRADO/3.1.6