Okay
  Public Ticket #1976947
divizion by zero
Closed

Comments

  • xtazik started the conversation

    Hi ! 

    On numerous pages of the amartha's theme this bug is displaying : 

    Warning: Division by zero in /homepages/27/d778041270/htdocs/www/wp-content/plugins/neuron-core-amartha/functions.phpon line 260

    Almost none modification have been done to the theme since I bought it. 

    Can you please advise to get rid of this before I star reel customisation ? 

    Thanks a lot. 

    Kevin

  •  675
    Neuron replied

    Hi,

    Please talk to your host providers and tell them to update your PHP version to 7 or higher, that will fix the issue quickly. The reason why that is showing is because we have written code in our themes in a high standard that is still not supported by some older versions of PHP.

    Feel free to ask for anything you need.

    Kind Regards,
    NeuronThemes


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • xtazik replied

    HI ! 

    Thx for the answer ! 

    as you can see, my hosting use php 7.2



    thks for more advises

    best regards

    Kevin

  • xtazik replied

    cf the back office of the hosting 1&1

  •  675
    Neuron replied

    Hi,

    It seems like you have WP_DEBUG enabled, so it will show warnings as errors in your website, that is coming from the media gallery element, since it is missing images, as soon as you upload images there the issue will be gone.

    Let me know what happens next.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • xtazik replied

    Hey ! 


    I have "define('WP_DEBUG', false);" in wp_config.php.

    If I want to change the image of the footer like in this link https://www.ensembles-sete.fr/shop-creative/, how do i do ? It's actually the only thing that bothering me.


    Thks

  •  675
    Neuron replied

    Hi Kevin,

    Simply hover onto the Edit with Elementor button at the top of your page. http://prntscr.com/ncti8e

    Click on the Payment Method and a new page will be opened, that's the template that is included on the footer, you'll be able easily to change the images in the media gallery, so the issue will be gone in that way.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.