Imagick is deprecated
-
Hello Ian, I have just updated and I have noticed that the server configuration check still assumes you must have Imagick installed. Please be aware that Imagick is now deprecated and websites using PHP5+ usually have GD installed. You can refer to https://pecl.php.net/package/imagick.
PS. there’s a small bug in new version: clicking on a file doesn’t open the dropdown list anymore (reviews, gotopost, preview, etc.). It does in backend but not frontend. Please verify, thank you.
-
Thanks for the report, I’ll take a look at imagick magic.
As for the dropdown, I’ve tested on 2 separate servers and dropdown works on both the frontend and backend.
Can you tell me if there are any javascript errors? Also please make sure you have the latest version of WordPress installed 4.9
You can also goto mDocs setting and alter the Third party includes sometimes there can be a conflict there.
I have this JS error: Empty string passed to getElementById(). [2 repeats]
and no issues with “third party”.try disabling all other plugins and see if your problem persists.
Have you added anything new lately changed your theme upgraded it?
no theme updates, just the usual WP and plugins…. I’m not even using Memphis yet, I just have a couple of test files… so no major changes
does your javascript error tell you the file that is causing the issue?
example “mdocs.js line 192”
unfortunately not, no more info
this is the page, files under “manuali” folder
looking at your page code your have inject a <p> tag in-between the and the
- which is cause the dropdown not to fire. Below is what you site looks like:
<a class="mdocs-title-href" data-mdocs-id="5" data-toggle="" href="#"><img src="https://agendadelvolo.info/wp-content/plugins/memphis-documents-library/assets/imgs/filetype-icons/pdf.png" class="hidden-xs hidden-sm hidden-md" style="padding-right: 5px; float: left;"> IL_VOLO</a> <p></p> <ul class="mdocs-dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> <li role="presentation" class="dropdown-header"><i class="fa fa-medium"></i> ยป IL_VOLO.pdf</li> <li role="presentation" class="divider"></li> <li role="presentation" class="dropdown-header">File Options</li> <li role="presentation"> <a role="menuitem" tabindex="-1" href="https://agendadelvolo.info/?mdocs-file=23502"><i class="fa fa-cloud-download"></i> Download</a> </li> <li role="presentation"><a class="description-preview" role="menuitem" tabindex="-1" href="#" data-toggle="mdocs-modal" data-target="#mdocs-description-preview" data-mdocs-id="23502" data-is-admin=""><i class="fa fa-leaf"></i> Description</a></li> <li role="presentation"> <a class="file-preview" role="menuitem" tabindex="-1" data-toggle="mdocs-modal" data-target="#mdocs-file-preview" data-mdocs-id="23502" data-is-admin="" href=""><i class="fa fa-search mdocs-preview-icon"></i> Preview</a> </li> <li role="presentation"><a class="versions-button" role="menuitem" tabindex="-1" href="#" data-toggle="mdocs-modal" data-target="#mdocs-versions" data-mdocs-id="23502"><i class="fa fa-code-fork"></i> Other Versions</a></li> </ul>its should look like this:
<a class="mdocs-title-href" data-mdocs-id="5" data-toggle="" href="#"><img src="https://agendadelvolo.info/wp-content/plugins/memphis-documents-library/assets/imgs/filetype-icons/pdf.png" class="hidden-xs hidden-sm hidden-md" style="padding-right: 5px; float: left;"> IL_VOLO</a> <ul class="mdocs-dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> <li role="presentation" class="dropdown-header"><i class="fa fa-medium"></i> ยป IL_VOLO.pdf</li> <li role="presentation" class="divider"></li> <li role="presentation" class="dropdown-header">File Options</li> <li role="presentation"> <a role="menuitem" tabindex="-1" href="https://agendadelvolo.info/?mdocs-file=23502"><i class="fa fa-cloud-download"></i> Download</a> </li> <li role="presentation"><a class="description-preview" role="menuitem" tabindex="-1" href="#" data-toggle="mdocs-modal" data-target="#mdocs-description-preview" data-mdocs-id="23502" data-is-admin=""><i class="fa fa-leaf"></i> Description</a></li> <li role="presentation"> <a class="file-preview" role="menuitem" tabindex="-1" data-toggle="mdocs-modal" data-target="#mdocs-file-preview" data-mdocs-id="23502" data-is-admin="" href=""><i class="fa fa-search mdocs-preview-icon"></i> Preview</a> </li> <li role="presentation"><a class="versions-button" role="menuitem" tabindex="-1" href="#" data-toggle="mdocs-modal" data-target="#mdocs-versions" data-mdocs-id="23502"><i class="fa fa-code-fork"></i> Other Versions</a></li> </ul>You are going to have to find out where this <p> tag is being injected.
-
This reply was modified 8 years, 6 months ago by
bhaldie.
…difficult to spot, as it is a shortcode that shows the content. Also, this happened after latest update. So maybe the <p> is injected by the plugin and not by the page. I’m not a developer, I’m just guessing.
I’ve tested on 2 development servers and my kingofnothing.net site none contain the <p> tag. My guess is another plugin or the theme itself is altering the output of the shortcode.
It is very difficult to say what is causing it, but I can’t recreate.
My gut tells me its the theme itself, that why it works on the backend and not the frontend.
Hello Jan, I’m updating on this problem with the files dropdowns not opening. I have disabled the wpautop filter and now the dropdowns are back. Unfortunately, clicking on it doesn’t do anything. Do you think you can have a look at this page (files are in the folder “manuali”) and give me some feedback on the problem? I’d appreciate.
By the way, I’m glad to see that my efforts to translate MemphisDoc are finally appearing on the site.I just too a look at the page link above and everything is working fine for me. When I click on the file the dropdown menu appears with Download, Description and Preview visible.
I’m I missing something.
PS I am using Safari of a Mac.
I have just discovered that it depends of the position of the hand-cursor. If I move it a little bit below the text, then modals are appearing again. So I guess it’s a browser problem. Thank you.
PS. please notice that some of the accepted translations on Polyglot are not translated into the plugin. You might need to do some fixing ๐ -
This reply was modified 8 years, 6 months ago by
The topic ‘Imagick is deprecated’ is closed to new replies.