107 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
henryhu says

I just purchased Leafping, but I see this in my dashboard. Does anybody have any idea what it’s about?

Fatal_error: Call to undefined function cal_days_in_month() in wp-content/plugins/leafping/functions/functions.php on line 1195

Thanks!

427 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Located in United States
  • Won a competition
+9 more
BoxyStudio says

Hmm, what version of PHP are you running? That function is a core PHP function found in PHP 4.1 or higher.

107 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
henryhu says

Hmm, what version of PHP are you running? That function is a core PHP function found in PHP 4.1 or higher.

I’m not sure… My wordpress is installed on a distributed web service, which might be the cause? But anyway I guess I have fixed it for now… I just added the cal_days_in_month function in your source code… function cal_days_in_month($calendar, $month, $year) { return date(‘t’, mktime(0, 0, 0, $month, 1, $year)); } And it looks great now. I like it very much.

427 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Located in United States
  • Won a competition
+9 more
BoxyStudio says


Hmm, what version of PHP are you running? That function is a core PHP function found in PHP 4.1 or higher.
I’m not sure… My wordpress is installed on a distributed web service, which might be the cause? But anyway I guess I have fixed it for now… I just added the cal_days_in_month function in your source code… function cal_days_in_month($calendar, $month, $year) { return date(‘t’, mktime(0, 0, 0, $month, 1, $year)); } And it looks great now. I like it very much.

Yeah I think I’ll replace that function with a date(‘t’) as well. Makes a lot more sense.

226 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Had an item featured in an Envato Bundle
+4 more
h3design says

Yesterday was a crazy day ! New record in sales and earnings :)
Check this out: I am making art with the sales graph :D:D

random geometry :P

427 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Located in United States
  • Won a competition
+9 more
BoxyStudio says

Fun isn’t it? :)

226 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Had an item featured in an Envato Bundle
+4 more
h3design says

it´s AWESOME. sry for offtopic, but i just had to post this :P

220 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
corsonr says

I don’t know why but since a few hours the plugin makes my whole site crash, that sucks! Too many sales ? lol ! no, seriously, that’s annoying!

220 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
corsonr says

I don’t know why but since a few hours the plugin makes my whole site crash, that sucks! Too many sales ? lol ! no, seriously, that’s annoying!

it went back to normal, that was weird! Great plugin by the way!

427 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Located in United States
  • Won a competition
+9 more
BoxyStudio says


I don’t know why but since a few hours the plugin makes my whole site crash, that sucks! Too many sales ? lol ! no, seriously, that’s annoying!
it went back to normal, that was weird! Great plugin by the way!

Yeah I don’t think it was the plugin that caused your site to crash (I don’t see how this could happen). Glad you like Leafping, spread the word! ;)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by