Empty string supplied as input when parsing content

I have fixed the problem.

The main problem was that I was calling the function mb_find_my_image from index.php. After I’ve removed the calling from index.php, everything works as it should.

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