• when submitting an event or a volunteer, the following message is displayed:

    Fatal error: Call to private method CommunityJar::get_project_date_formatted() from context ‘Community_Jar_Tokenizer’ in /homepages/32/d422781200/htdocs/servicebegins/wp-content/plugins/community-jar/lib/Community_Jar_Tokenizer.class.php on line 85

    running wp 3.9.1, it is the only plug in installed and I tried running different themes including twentytwelve with no luck.

    Would be an AWESOME plug in for what we need if can get it past this error. thank you.

    https://ww.wp.xz.cn/plugins/community-jar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The line in question is as follows:
    $value = $GLOBALS[‘community-jar’]->get_project_date_formatted($project_id);

    Any suggestions from Community Jar or anyone would be greatly appreciated.

    @masedaw and to anyone else who was still wondering how to deal with this code jumble; all I did was remove the code:
    case ‘[project-date]’:
    $value = $GLOBALS[‘community-jar’]->get_project_date_formatted($project_id);
    break;

    After doing so, I was able to update my wordpress project with no errors and it hasn’t negatively affected the purpose of the plugin.

    Cheers all

    Sorry if you’re new to coding and you wanted to know where to find that simply:
    1. Go to Plugins tab on left side
    2. Click edit under Community Jar
    3. Scroll down to “community-jar/lib/Community_Jar_Tokenizer.class.php”
    4. Look for the code line 85 (although the lines in WordPress aren’t like in notepad++ so just trust when I say it’s the code given above) and
    5. remove the code and update .php file
    6. head back to your Community Jar event and update

    Hopefully this helps someone

    Cheers

    Thread Starter MasEdaw

    (@masedaw)

    @idesignucreate, thanks SO much for the simple fix. I really would like to get this plug in working on our site since it would save me so much time. But now I can’t find the instructions on how to get it to work. I know I figured it out previously. Readme file is useless. Did you find it anywhere?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal Error in get_project_date_formatted()’ is closed to new replies.