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 's' AND actief > '0' AND ((datum_start = '0' OR datum_start < '20240520001344...' at line 1
SELECT * FROM menu WHERE naam_paginaurl = 'bijtende_puppy's' AND actief > '0' AND ((datum_start = '0' OR datum_start < '20240520001344') AND (datum_eind = '0' OR datum_eind > '20240520001344' )) ORDER BY positie ASC LIMIT 1
Array
(
    [0] => Array
        (
            [file] => /home/baaszijnnl/domains/baaszijn.nl/public_html/2d15f22846f42715f87795f0bf0e4a4f/inc/functions.php
            [line] => 1998
            [function] => queryError
            [args] => Array
                (
                    [0] => 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 's' AND actief > '0'  AND ((datum_start = '0' OR datum_start < '20240520001344...' at line 1
                    [1] =>  SELECT * FROM menu WHERE naam_paginaurl = 'bijtende_puppy's' AND actief > '0'  AND ((datum_start = '0' OR datum_start < '20240520001344') AND (datum_eind = '0' OR  datum_eind > '20240520001344' ))  ORDER BY positie ASC LIMIT 1 
                    [2] => mysqli Object
                        (
                            [affected_rows] => -1
                            [client_info] => 10.2.44-MariaDB
                            [client_version] => 100244
                            [connect_errno] => 0
                            [connect_error] => 
                            [errno] => 1064
                            [error] => 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 's' AND actief > '0'  AND ((datum_start = '0' OR datum_start < '20240520001344...' at line 1
                            [error_list] => Array
                                (
                                    [0] => Array
                                        (
                                            [errno] => 1064
                                            [sqlstate] => 42000
                                            [error] => 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 's' AND actief > '0'  AND ((datum_start = '0' OR datum_start < '20240520001344...' at line 1
                                        )

                                )

                            [field_count] => 0
                            [host_info] => Localhost via UNIX socket
                            [info] => 
                            [insert_id] => 0
                            [server_info] => 10.2.44-MariaDB-cll-lve
                            [server_version] => 100244
                            [stat] => Uptime: 811840  Threads: 105  Questions: 94581507  Slow queries: 58  Opens: 8607  Flush tables: 1  Open tables: 8343  Queries per second avg: 116.502
                            [sqlstate] => 00000
                            [protocol_version] => 10
                            [thread_id] => 1309488
                            [warning_count] => 0
                        )

                )

        )

    [1] => Array
        (
            [file] => /home/baaszijnnl/domains/baaszijn.nl/public_html/includes/config/inc.header.php
            [line] => 250
            [function] => getArray
            [args] => Array
                (
                    [0] =>  SELECT * FROM menu WHERE naam_paginaurl = 'bijtende_puppy's' AND actief > '0'  AND ((datum_start = '0' OR datum_start < '20240520001344') AND (datum_eind = '0' OR  datum_eind > '20240520001344' ))  ORDER BY positie ASC LIMIT 1 
                    [1] => 
                    [2] => mysqli Object
                        (
                            [affected_rows] => -1
                            [client_info] => 10.2.44-MariaDB
                            [client_version] => 100244
                            [connect_errno] => 0
                            [connect_error] => 
                            [errno] => 0
                            [error] => 
                            [error_list] => Array
                                (
                                )

                            [field_count] => 0
                            [host_info] => Localhost via UNIX socket
                            [info] => 
                            [insert_id] => 0
                            [server_info] => 10.2.44-MariaDB-cll-lve
                            [server_version] => 100244
                            [stat] => Uptime: 811840  Threads: 105  Questions: 94581507  Slow queries: 58  Opens: 8607  Flush tables: 1  Open tables: 8343  Queries per second avg: 116.502
                            [sqlstate] => 00000
                            [protocol_version] => 10
                            [thread_id] => 1309488
                            [warning_count] => 0
                        )

                    [3] => id
                    [4] => 1
                    [5] => 1
                    [6] => menu
                )

        )

    [2] => Array
        (
            [file] => /home/baaszijnnl/domains/baaszijn.nl/public_html/index.php
            [line] => 30
            [args] => Array
                (
                    [0] => /home/baaszijnnl/domains/baaszijn.nl/public_html/includes/config/inc.header.php
                )

            [function] => include_once
        )

)
/home/baaszijnnl/domains/baaszijn.nl/public_html/2d15f22846f42715f87795f0bf0e4a4f/inc/functions.php > 2852

ERROR REPORT FROM "queryError()"