A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Tour_international.php

Line Number: 98

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 98
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'hotel_id' of non-object

Filename: controllers/Tour_international.php

Line Number: 98

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 98
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Tour_international.php

Line Number: 108

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 108
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'locations' of non-object

Filename: controllers/Tour_international.php

Line Number: 108

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 108
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Tour_international.php

Line Number: 108

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 108
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category2

Filename: controllers/Tour_international.php

Line Number: 113

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 113
Function: _error_handler

File: /home/u945114616/domains/samandtravel.com/public_html/fa/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 /home/u945114616/domains/samandtravel.com/public_html/fa/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/models/Base_model.php
Line: 45
Function: get

File: /home/u945114616/domains/samandtravel.com/public_html/fa/application/controllers/Tour_international.php
Line: 114
Function: get_data

File: /home/u945114616/domains/samandtravel.com/public_html/fa/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 `departure_date` < "2024-06-13" LIMIT 8' at line 3

SELECT * FROM `tours_int` WHERE `category2` !=0 and `category2` = and `departure_date` < "2024-06-13" LIMIT 8

Filename: models/Base_model.php

Line Number: 45