Support » Plugin: Memphis Documents Library » Text not found in the file listing table

  • Resolved Hyrules

    (@hyrules)


    Hi, Bhaldie,

    I’m having an issue with the latest version of Memphis docs. In the front end and backend the title of the headers in the tables show Text Not found instead of the proper string.

    Thanks,

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

    (@bhaldie)

    clear your cache and try again. Also have you tried to manually change the text yourself that will also cause errors.

    I cleared my cache and even tried another browser. Still the same issue. Here what it looks like :

    Capture

    • This reply was modified 8 months, 1 week ago by  Hyrules.
    Plugin Author bhaldie

    (@bhaldie)

    have you altered the text of the headers>?

    Nope it’s the original and the string from the translation. I never alter a plugin in wordpress for my personnal use it makes the maintenance too complicated.

    • This reply was modified 8 months, 1 week ago by  Hyrules.
    Plugin Author bhaldie

    (@bhaldie)

    open the file mdocs-localization.php head down to line 219 and add this right below it:

    
    function mdocs_local($text) {
        var_dump($text);
    

    let me know the results.

    Here is the result of the vardump :

    string(4) “Name” Text not found. string(9) “Downloads” Text not found. string(7) “Version” Version string(5) “Owner” Text not found.

    StevenP94

    (@stevenp94)

    I have the same problem, Any news on that ?

    Plugin Author bhaldie

    (@bhaldie)

    so im clear the dump show the string “Text not found”?

    Plugin Author bhaldie

    (@bhaldie)

    okay i’ve found the issue, not sure why it is causing an error now but here is the fix:

    open the file mdic-localization.php goto line 240:

    
    $key = array_search($text, $local);
    

    change to this:

    
    $key = array_search(__($text, 'memphis-documents-library'), $local);
    

    next version will have this change but if you want to fix it now go ahead

    • This reply was modified 8 months ago by  bhaldie.
    Hyrules

    (@hyrules)

    Thanks this indeed fixes the issue for me.

    StevenP94

    (@stevenp94)

    Thanks a lot it worked for me, too.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Text not found in the file listing table’ is closed to new replies.