Evan Herman on "[Plugin: Timeline Express] Fatal error: Call to a member function getTimeStamp()..."

ساخت وبلاگ

Once I create a new announcement I get this error:

Fatal error: Call to a member function getTimeStamp() on a non-object in /home2/vinchage/public_html/website/wp-content/plugins/timeline-express/lib/helpers.php on line 142

When I go to ALL assignments, in announcement date column, my announcements says:

Waing: date() expects parameter 2 to be long, string given in /home2/vinchage/public_html/website/wp-content/plugins/timeline-express/lib/admin/cpt/timeline-express-admin-columns.php on line 70

thanks

https://wordpress.org/plugins/timeline-express/

Hi Faerie87,

I have another user reporting similar issues. I have not encountered it - so I'm not sure what may be causing it.

What is the date format that you are using when creating announcement posts? It could be that the date format is not recognized or is not being stored properly in the database, which is what the section error, "date() expects parameter 2 to be long...", means.

You can check the date format by going to Settings > General > Date Format.

Thanks,
Evan

Hi Evan,

The date format I have set is
Date Format Date Format May 30, 2016 F j, Y
Time Format Time Format 3:05 pm g:i a

thanks.
Celine

Are you using any of the custom code we have in our documentation? I'm trying to figure out why the date would not be saving properly.

Thanks,
Evan

faerie87
Member
Posted 12 hours ago #

Hi Evan,

I literally just installed the plugin via the wordpress plugin page and have not been able to create a new announcement. I didn't change any settings initially aside from the colours etc from new announcements.

After your reply, I've tried changing the date format from settings you mentioned earlier and I still get the same error. I tried to uninstall the plugin and delete everything and reinstall the code and still get the same error.

I'm wondering if it's the theme it's clashing with since the theme comes with visual composer. that's the only thing I can think of. it's a pretty fresh install of wordpress and I have not made that much customisations.

thanks!

It sounds like your server is running an older version of PHP. Can you check what version it is set at? It's usually found in your cpanel if you are on a shared host.

I believe the function requires PHP 5.3.0 or later, or else you will run into the mentioned fatal error.

http://php.net/manual/en/datetime.gettimestamp.php

Thanks,
Evan

faerie87
Member
Posted 11 minutes ago #

Hi,

No, I'm running php 5.4 :( I can give you access to wordpress if needed. but not sure...
here are some screenshots:

thanks
http://imgur.com/a/9md71

Yea, email us at [email protected] and we can work on resolving the issue in your specific instance.

I can't replicate things on my end, so witnessing it first hand would be helpful in diagnosing what is going wrong.

Evan

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 230 تاريخ : سه شنبه 11 خرداد 1395 ساعت: 22:30