Error: Call to a member function getId() on a non-object

500 Internal Server Error - FatalErrorException

Stack Trace

  1. in src/SFCMS/FrontBundle/Controller/PageController.php at line 31  -
    1.         $cookieConnect false;
    2. //        if ($_SERVER['REMOTE_ADDR'] === "90.41.132.181") {
    3.         if ($args['PAGE']->getId() === 62) {
    4.             $cookies $request->cookies;
    5.             $isconnect false;

Logs  -

Stack Trace (Plain Text)  +

Error: Call to a member function getId() on a non-object (500 Internal Server Error)

Error: Call to a member function getId() on a non-object

500 Internal Server Error - FatalErrorException

Stack Trace

  1. in src/SFCMS/FrontBundle/Controller/PageController.php at line 31  -
    1.         $cookieConnect false;
    2. //        if ($_SERVER['REMOTE_ADDR'] === "90.41.132.181") {
    3.         if ($args['PAGE']->getId() === 62) {
    4.             $cookies $request->cookies;
    5.             $isconnect false;

Logs  -

Stack Trace (Plain Text)  +

Error: Call to a member function getId() on a non-object (500 Internal Server Error)

Error: Call to a member function getId() on a non-object

500 Internal Server Error - FatalErrorException

Stack Trace

  1. in src/SFCMS/FrontBundle/Controller/PageController.php at line 31  -
    1.         $cookieConnect false;
    2. //        if ($_SERVER['REMOTE_ADDR'] === "90.41.132.181") {
    3.         if ($args['PAGE']->getId() === 62) {
    4.             $cookies $request->cookies;
    5.             $isconnect false;

Logs  -

Stack Trace (Plain Text)  +