• Resolved the_zero

    (@the_zero)


    Trying to post important Covid-19 information for a few hundred properties to give information to their 40,000+ residents. So this is an urgent issue for me and my client.

    I had the array_multisort issue that has been detailed by a few others. The issue was that after upgrading to the latest version any download would show the following error followed by the document in code format.

    Warning: array_multisort(): Array sizes are inconsistent in /home/clientname/webapps/clientsite/wp-content/plugins/memphis-documents-library/includes/mdocs-functions.php on line 574

    I exported the entire document library, deleted it, re-uploaded it (with a few errors), and the problem persisted. Upgraded PHP, WordPress, turned off all plugins, all themes, etc., and the problem persisted. I deleted the library, and re-imported the old one (with some errors – the library is 300MB+). Still had the problem.

    I was able to downgrade Memphis docs and incrementally upgrade to the latest version and I thought all was well… until I touched the settings.

    I turned off some fields in settings, Document List Configuration, and it caused an error on display. So I went back to the same list and there were 30+ blank lines. One of them had a checkmark, so I turned that off, selected the fields I wanted, saved … and 30 blank lines turned into ~200 blank lines. Now there’s about 1,000.

    Any help on this issue?

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

    (@bhaldie)

    to fix the 1000 blank field issue please do this:

    add this line to the top of the mdocs_run_patch function found in the file mdocs-pataches.php:

    update_option('mdocs-displayed-file-info', array());

    then goto settings press the save button then remove that line after.

    then update to the latest version of mdocs and test for the array error again.

    Thread Starter the_zero

    (@the_zero)

    Thank you very much for the response. I ended up restoring the docs from yesterday, upgrading to the latest, and so far no problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issues after Upgrade’ is closed to new replies.