widgetlogic and permalinks

Changing permalinks should have absolutely no affect whatsoever on the parameters passed to is_page(). Are you perhaps changing the Page Titles instead?

Regardless, try passing the Page ID instead of the Page Title to your is_page() array.

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