A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 376

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 376
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 376

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 376
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 377

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 377
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 378

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 378
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 378

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 378
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 378

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 378
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 378

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 378
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 380

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 380
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 380

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 380
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 386

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 386
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Courses.php

Line Number: 386

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 386
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: pro

Filename: controllers/Courses.php

Line Number: 429

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 429
Function: _error_handler

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: implode(): Invalid arguments passed

Filename: models/Page_model.php

Line Number: 129

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/models/Page_model.php
Line: 129
Function: implode

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 429
Function: get_comments_by_category_location

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/fpformacionprofesional.com/httpdocs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/models/Page_model.php
Line: 133
Function: get

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/application/controllers/Courses.php
Line: 429
Function: get_comments_by_category_location

File: /var/www/vhosts/fpformacionprofesional.com/httpdocs/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND `co`.`id` = '336' ORDER BY `re`.`id` DESC LIMIT 6' at line 5

SELECT `re`.`name`, `re`.`comment`, `re`.`province`, `re`.`city`, `ct`.`type`, `co`.`title`, `co`.`title_url` FROM `cursos_courses` `co` INNER JOIN `cursos_registrations` `re` ON `re`.`courseID`=`co`.`id` INNER JOIN `cursos_courses_types` `ct` ON `ct`.`id`=`co`.`tipo` WHERE re.comment != "" AND () AND `co`.`id` = '336' ORDER BY `re`.`id` DESC LIMIT 6

Filename: models/Page_model.php

Line Number: 133