107 posts
  • Has referred 1+ members
  • Has sold $1,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!

403 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • 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 $1,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.

403 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • 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.

224 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

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

Fun isn’t it? :)

224 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!

403 posts I <3 WordPress
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Has sold $250,000+ on Envato Market
  • 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! ;)

by
by
by
by
by
by