Woocommerce paginate link generates #038 instead of ? – seems connected to caching

Woocommerce paginate link generates #038 instead of ? – seems connected to caching

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