ERROR: SQLSTATE[42000]: Syntax error or access violation: 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 'UPcreated_at blogs
            SET views = views + 1
            WHERE id = ?' at line 1

FILE: /home/u490434846/domains/adnwebtech.com/public_html/models/BlogModel.php

LINE: 166

Array
(
    [0] => Array
        (
            [file] => /home/u490434846/domains/adnwebtech.com/public_html/models/BlogModel.php
            [line] => 166
            [function] => prepare
            [class] => PDO
            [type] => ->
        )

    [1] => Array
        (
            [file] => /home/u490434846/domains/adnwebtech.com/public_html/controllers/BlogController.php
            [line] => 42
            [function] => incrementViews
            [class] => BlogModel
            [type] => ::
        )

    [2] => Array
        (
            [file] => /home/u490434846/domains/adnwebtech.com/public_html/index.php
            [line] => 60
            [function] => show
            [class] => BlogController
            [type] => ->
        )

)