Fix php logging warnings