A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for Page::view()

Filename: controllers/page.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/page.php

Line Number: 32

Array
(
    [0] => FAIL
    [1] => Array
        (
            [Command] => SQL Command : UPDATE onec_cms SET counter = counter+1 WHERE id=
            [Detail] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
        )

)