A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Yogaclasses.php

Line Number: 26

Backtrace:

File: /home/hathavidya/public_html/application/controllers/Yogaclasses.php
Line: 26
Function: _error_handler

File: /home/hathavidya/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Yogaclasses.php

Line Number: 38

Backtrace:

File: /home/hathavidya/public_html/application/controllers/Yogaclasses.php
Line: 38
Function: _error_handler

File: /home/hathavidya/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: orderid

Filename: controllers/Yogaclasses.php

Line Number: 55

Backtrace:

File: /home/hathavidya/public_html/application/controllers/Yogaclasses.php
Line: 55
Function: _error_handler

File: /home/hathavidya/public_html/index.php
Line: 292
Function: require_once



A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: public/yogaclass_view.php

Line Number: 11

Backtrace:

File: /home/hathavidya/public_html/application/views/public/yogaclass_view.php
Line: 11
Function: _error_handler

File: /home/hathavidya/public_html/application/controllers/Yogaclasses.php
Line: 60
Function: view

File: /home/hathavidya/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/hathavidya/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/hathavidya/public_html/application/views/public/yogaclass_view.php
Line: 43
Function: get

File: /home/hathavidya/public_html/application/controllers/Yogaclasses.php
Line: 60
Function: view

File: /home/hathavidya/public_html/index.php
Line: 292
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 'LIMIT 1' at line 4

SELECT * FROM `classes` WHERE `order_id` > LIMIT 1

Filename: views/public/yogaclass_view.php

Line Number: 43