Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #731100

    Hi Everybody at kriesi,

    i just copied a website from my server to my customers server and get an error now on Post-Pages:
    Warning: Division by zero in …/***.com/wp-content/themes/enfold-child/functions.php on line 145

    Could you please have a look at that?

    Line 145 in functions.php says:
    $pages = ceil($total / $items_per_page);

    • This topic was modified 7 years, 11 months ago by expectmore.
    #731583

    deactivating the “display errors” option in the php.ini will hide the error, but is no solution, isn’t it?

    #731740

    Hi,

    Actually you can ignore the warnings. You should worry about errors rather than warnings :)

    Best regards,
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.