Best practices to assert current_user_can() with guests

Best practices to assert current_user_can() with guests

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