• Resolved hwythe

    (@hwythe)


    Hi,
    The database and images were copied from a staging server to production. MLA seems to work except for this error message in the ‘date’ column. The date actually appears, after the message. Note – the heading and first row of the table were copied for you.

    ID/Parent
    Title/Name Featured in Inserted in
    Date Categories
    Select All
    ID/Parent
    Title/Name Featured in Inserted in
    Date Categories
    buckle2 pc 833
    (parent:832)
    buckle2 pc
    buckle2-pc
    (UNUSED) (post 882), Joyce Baron Jewelry

    Notice: Trying to get property of non-object in /home/parkcit0/public_html/wp-content/plugins/the-events-calendar/lib/tribe-templates.class.php on line 688
    2014/10/26

    https://www.ads-software.com/plugins/media-library-assistant/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for raising this issue and for taking the time to post the column headers and table row containing the message. As you can see, this Notice is coming from another plugin – “The Events Calendar”.

    I installed and activated The Events Calendar version 3.9 on my test system and reproduced the message. The message comes from a filter that The Events Calendar installs to convert a date value they use in one of their custom post types. The filter assumes that a WordPress global variable ( $post ) is set and uses it without first verifying that it is defined. I would characterize that as a bug in their code.

    I have added code to my plugin to initialize this variable and avoid the issue, although there is no other reason to do it. You have three options:

    1. Report the issue to the authors of The Event Calendar and get them to fix their code
    2. Wait for my next MLA version, which will contain the work-around.
    3. Turn off your PHP Notice messages or ignore them for now.

    I can also put the fix in my Development Version, which you can then download from the Developers tab here in the Repository and install on your system. If you’d like to do that, let me know; I will upload the fix there and post an update to this topic when I have done that. The Development Version should work fine, but some people don’t trust anything short of an official release.

    Let me know how you want to proceed. Thanks for your interest in the plugin.

    Thread Starter hwythe

    (@hwythe)

    Fantastic support, thank you!

    Thread Starter hwythe

    (@hwythe)

    I reported this to the author. I will wait for your next release that contains the workaround. If they respond with a fix, I will let you know.
    Thanks

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your updates and for your initiative in reporting the bug to them. I’ll post an update here when I release my next version.

    Plugin Author David Lingren

    (@dglingren)

    The MLA version containing a fix for this issue has been released – some time ago, in fact.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error message on date column’ is closed to new replies.