Page specific cookie

WordPress doesn’t know if it’s a page yet, init fires before the query is run. You need to hook a later action, like wp. Have a look at Action Reference to see the order of actions during a request.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)