Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi there,
I think I am doing something wrong with cms:div tag. Here is my code;

Code: Select all
<cms:set mesleki_toplam = "<cms:div mesleki_toplam_bolum mesleki_onem_toplam_bolum />" scope='global' />


It calculates true but gives errors below;

    Warning: Division by zero in....
    Warning: A non-numeric value encountered in ....
    Warning: Warning: Cannot modify header information - headers already sent by....

What do you think about this?
Any idea?
I think you are confusing <cms:div> for something else.. it actually stands for "division" (https://docs.couchcms.com/tags-reference/div.html). I think you should be able to see why you are getting the error now.
3 posts Page 1 of 1