• Resolved rlaing

    (@rlaing)


    I receive the following error after applying the latest update to the Memphis Doc plugin:

    Fatal error: Call to undefined function session_status() in /home/content/a/d/k/adknfc/html/adk-directors/wp-content/plugins/memphis-documents-library/includes/mdocs-functions.php on line 423

    Any suggestions ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author bhaldie

    (@bhaldie)

    What version of php are you running? You need to be running 5.5.9 or greater for mdocs to work properly.

    Thread Starter rlaing

    (@rlaing)

    I just saw that previous post, upgrading PHP version now — thanks

    Plugin Author bhaldie

    (@bhaldie)

    no problem ??

    We have php 5.6.3 and we have same error – Fatal error: Call to undefined function session_status() in /home/northwag/public_html/publications/wp-content/plugins/memphis-documents-library/includes/mdocs-functions.php on line 423 .
    It is a total site breaker and forced a return to back up. That’s the second time this happened. It’s a pity because it’s a good plugin and I hope you can fix it.

    Plugin Author bhaldie

    (@bhaldie)

    I will have an update out soon that should release this issue with session_status().

    Can you also tell me if you have session enabled on your server?

    Our techie has some more info. I am sorry if I have misled you at all. Here is his response
    “Search for session and you can see it’s enabled, along with bug compatibility from several versions back (I think that dates back at least six or seven years for older code!). The problem is with how the module tries to access the session status – it will work in pretty much all local, test environments but it can fail on some server configurations. There is a simple way around it by using a different function call (session_start) but I won’t bog you down with the details.

    Equally, I don’t want to start fixing someone else’s code because it could cause further problems down the road. E.g., my fix could end up breaking his fix and so on and so on…!

    However.. here’s the BIG thing. We’re not running 5.6.3, despite the fact that that is what the main PHP admin backend tells me. When you ask PHP to identify itself, it’s 5.3.28, so we’re not compatible. I did seem to think that was the case before, but PHPMyAdmin is erroneously returning a version which isn’t the one we actually have.”
    Hopefully there is a fix to this anyway but in the meantime our updating is disabled

    Plugin Author bhaldie

    (@bhaldie)

    Sessions is still a work in progress, but as stated before I should have a solution to the session_status bug on the next version of mDocs.

    It should be out sometime this week, let me know when you update if the problem still exists.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘error after upgrading to 3.6.22’ is closed to new replies.