• Resolved fireemerald

    (@fireemerald)


    Dear Sir or Madam,

    we use your plugin v2.60 (20170916) on our website. Unfortunately our php error logs contain entries from your plugin:

    [28-Sep-2017 09:46:39 UTC] PHP Fatal error:  Uncaught Error: Class 'MLAData' not found in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php:600
    Stack trace:
    #0 /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php(561): MLAModal::mla_terms_search_form()
    #1 /REMOVED/wp-includes/class-wp-hook.php(298): MLAModal::mla_echo_terms_search_form('')
    #2 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #3 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /REMOVED/wp-admin/admin-footer.php(72): do_action('admin_footer', '')
    #5 /REMOVED/wp-content/plugins/js_composer/include/templates/editors/vc_ui-template-preview.tpl.php(81): require_once('/REMOVED/...')
    #6 /REMOVED/wp-content/plugins/js_composer/include/helpers/helpers.php(993): require('/REMOVED/...')
    #7 /REMOVED/wp-content/plugins/js_composer/include/classes/editors/popups/class-vc-templates-panel-editor.php(436): vc_include_template('editors/vc_ui-t...', Array)
    #8 /REMOVED/wp-includes/class-wp-hook.php(298): Vc_Templates_Panel_Editor->renderTemplatePreview('')
    #9 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #10 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #11 /REMOVED/wp-admin/admin-ajax.php(91): do_action('wp_ajax_vc_load...')
    #12 {main}
      thrown in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php on line 600
    [28-Sep-2017 11:00:45 UTC] PHP Fatal error:  Uncaught Error: Class 'MLAData' not found in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php:600
    Stack trace:
    #0 /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php(561): MLAModal::mla_terms_search_form()
    #1 /REMOVED/wp-includes/class-wp-hook.php(298): MLAModal::mla_echo_terms_search_form('')
    #2 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #3 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /REMOVED/wp-admin/admin-footer.php(72): do_action('admin_footer', '')
    #5 /REMOVED/wp-content/plugins/js_composer/include/templates/editors/vc_ui-template-preview.tpl.php(81): require_once('/REMOVED/...')
    #6 /REMOVED/wp-content/plugins/js_composer/include/helpers/helpers.php(993): require('/REMOVED/...')
    #7 /REMOVED/wp-content/plugins/js_composer/include/classes/editors/popups/class-vc-templates-panel-editor.php(436): vc_include_template('editors/vc_ui-t...', Array)
    #8 /REMOVED/wp-includes/class-wp-hook.php(298): Vc_Templates_Panel_Editor->renderTemplatePreview('')
    #9 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #10 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #11 /REMOVED/wp-admin/admin-ajax.php(91): do_action('wp_ajax_vc_load...')
    #12 {main}
      thrown in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php on line 600
    [28-Sep-2017 11:00:51 UTC] PHP Fatal error:  Uncaught Error: Class 'MLAData' not found in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php:600
    Stack trace:
    #0 /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php(561): MLAModal::mla_terms_search_form()
    #1 /REMOVED/wp-includes/class-wp-hook.php(298): MLAModal::mla_echo_terms_search_form('')
    #2 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #3 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /REMOVED/wp-admin/admin-footer.php(72): do_action('admin_footer', '')
    #5 /REMOVED/wp-content/plugins/js_composer/include/templates/editors/vc_ui-template-preview.tpl.php(81): require_once('/REMOVED/...')
    #6 /REMOVED/wp-content/plugins/js_composer/include/helpers/helpers.php(993): require('/REMOVED/...')
    #7 /REMOVED/wp-content/plugins/js_composer/include/classes/editors/popups/class-vc-templates-panel-editor.php(436): vc_include_template('editors/vc_ui-t...', Array)
    #8 /REMOVED/wp-includes/class-wp-hook.php(298): Vc_Templates_Panel_Editor->renderTemplatePreview('')
    #9 /REMOVED/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #10 /REMOVED/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #11 /REMOVED/wp-admin/admin-ajax.php(91): do_action('wp_ajax_vc_load...')
    #12 {main}
      thrown in /REMOVED/wp-content/plugins/media-library-assistant/includes/class-mla-media-modal.php on line 600

    We use your plugin only for the “bulk edit” functionality. And for enable support of SVG images. Everything else is deactivated.

    If you need any further information do not hesitate to ask for it.

    WORDPRESS ENVIRONMENT
    WP Version	v4.8.2
    WP Multisite	No
    WP Debug Mode	No
    WP Max Upload Size	100 MB
    
    SERVER ENVIRONMENT
    Server Info	Apache
    PHP version	v7.0.23
    PHP Post Max Size	100 MB
    PHP Execution Time	90
    PHP Max Input Vars	1000

    Best regards

    • This topic was modified 7 years, 5 months ago by fireemerald.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report, and for including the messages and stack trace; very helpful.

    It looks like these messages are coming from the MLA code that loads enhancements to the “Add Media” Media Manager Modal (popup) Window, and that the window is opened from another plugin, “js_composer”. I am guessing that this is one of the many “front end” page builder/editor plugins; does that sound right? Can you tell me more about what the “js_composer” plugin is?

    MLA tries to limit the code loaded on front-end posts/pages to increase performance. This goes wrong when something like js_composer uses the Media Manager for its own purposes.

    You wrote “Everything else is deactivated.” Can you confirm that you have unchecked the “Enable Media Grid Enhancements” and “Enable Media Manager Enhancements” boxes in the “Media Manager/Media Grid Enhancements” section of the Settings/Media Library Assistant General tab? If you have, there may be something wrong in the MLA code that is still trying to load some of the enhancements and I will investigate further. If one or both of the boxes are checked, unchecking them may avoid the problem.

    Any additional details you can provide would be helpful. Thanks!

    Thread Starter fireemerald

    (@fireemerald)

    The js_composer is the internal name for Visual Composer.

    • “Enable Media Grid Enhancements” and
    • “Enable Media Manager Enhancements”

    were checked, sorry for that. I provide you all my exported settings:
    a:14:{s:23:"image_default_link_type";s:4:"none";s:15:"current_version";s:4:"2.60";s:16:"taxonomy_support";a:8:{s:11:"tax_support";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:14:"tax_quick_edit";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:15:"tax_term_search";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:18:"tax_flat_checklist";a:0:{}s:18:"tax_checked_on_top";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:10:"tax_filter";s:19:"attachment_category";s:16:"tax_metakey_sort";s:3:"ASC";s:11:"tax_metakey";s:4:"none";}s:28:"search_media_filter_defaults";a:2:{s:16:"search_connector";s:3:"AND";s:13:"search_fields";a:4:{i:0;s:5:"title";i:1;s:7:"excerpt";i:2;s:7:"content";i:3;s:4:"file";}}s:17:"enable_mla_viewer";s:9:"unchecked";s:21:"enable_featured_image";s:9:"unchecked";s:32:"enable_featured_image_generation";s:9:"unchecked";s:24:"enable_ghostscript_check";s:9:"unchecked";s:20:"custom_field_mapping";a:0:{}s:17:"iptc_exif_mapping";a:3:{s:8:"standard";a:5:{s:10:"post_title";a:5:{s:4:"name";s:5:"Title";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:9:"post_name";a:5:{s:4:"name";s:9:"Name/Slug";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:9:"image_alt";a:5:{s:4:"name";s:8:"ALT Text";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:12:"post_excerpt";a:5:{s:4:"name";s:7:"Caption";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:12:"post_content";a:5:{s:4:"name";s:11:"Description";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}}s:8:"taxonomy";a:0:{}s:6:"custom";a:0:{}}s:22:"enable_post_mime_types";s:9:"unchecked";s:15:"post_mime_types";a:0:{}s:12:"upload_mimes";a:4:{s:6:"custom";a:0:{}s:8:"disabled";a:52:{s:3:"aac";b:1;s:3:"ac3";b:1;s:2:"ai";b:1;s:3:"aif";b:1;s:4:"aifc";b:1;s:4:"aiff";b:1;s:2:"au";b:1;s:3:"bin";b:1;s:3:"cat";b:1;s:3:"cdf";b:1;s:3:"cgm";b:1;s:3:"clp";b:1;s:3:"crd";b:1;s:3:"dat";b:1;s:3:"dll";b:1;s:3:"dot";b:1;s:3:"dtd";b:1;s:3:"eps";b:1;s:4:"gtar";b:1;s:3:"ief";b:1;s:3:"ifb";b:1;s:3:"m13";b:1;s:3:"m14";b:1;s:3:"mml";b:1;s:3:"mny";b:1;s:5:"movie";b:1;s:3:"mp2";b:1;s:3:"mpa";b:1;s:3:"msg";b:1;s:3:"mvb";b:1;s:3:"otf";b:1;s:3:"pic";b:1;s:4:"pict";b:1;s:2:"ps";b:1;s:3:"pub";b:1;s:3:"rgb";b:1;s:3:"scd";b:1;s:3:"snd";b:1;s:3:"sql";b:1;s:3:"sst";b:1;s:3:"stl";b:1;s:3:"trm";b:1;s:3:"ttf";b:1;s:3:"w6w";b:1;s:3:"wmf";b:1;s:4:"woff";b:1;s:4:"word";b:1;s:3:"xlc";b:1;s:3:"xlm";b:1;s:3:"xml";b:1;s:3:"xsl";b:1;s:4:"xslt";b:1;}s:11:"description";a:0:{}s:9:"icon_type";a:91:{s:2:"ai";s:10:"postscript";s:4:"aifc";s:5:"audio";s:3:"asx";s:5:"video";s:2:"au";s:5:"audio";s:3:"bin";s:6:"binary";s:3:"bmp";s:7:"default";s:1:"c";s:8:"source_c";s:2:"cc";s:10:"source_cpp";s:3:"cgm";s:5:"image";s:5:"class";s:11:"source_java";s:3:"clp";s:6:"knotes";s:3:"crd";s:6:"knotes";s:3:"css";s:10:"stylesheet";s:3:"dat";s:6:"binary";s:3:"dll";s:8:"exe_wine";s:3:"dot";s:8:"document";s:4:"dotx";s:8:"document";s:3:"dtd";s:4:"code";s:3:"eps";s:10:"postscript";s:3:"exe";s:8:"exe_wine";s:3:"gif";s:7:"default";s:4:"gtar";s:7:"archive";s:4:"gzip";s:7:"archive";s:1:"h";s:8:"source_h";s:3:"ico";s:7:"default";s:3:"ics";s:8:"calendar";s:3:"ief";s:5:"image";s:3:"ifb";s:8:"calendar";s:3:"jpe";s:7:"default";s:4:"jpeg";s:7:"default";s:3:"jpg";s:7:"default";s:2:"js";s:11:"source_java";s:3:"mdb";s:8:"database";s:3:"mid";s:5:"audio";s:4:"midi";s:5:"audio";s:3:"mml";s:8:"kformula";s:5:"movie";s:5:"video";s:3:"mpa";s:5:"audio";s:3:"mpe";s:5:"video";s:3:"msg";s:7:"message";s:3:"odb";s:8:"database";s:3:"odc";s:3:"log";s:3:"odf";s:8:"kformula";s:3:"odg";s:2:"3d";s:6:"onepkg";s:6:"knotes";s:6:"onetmp";s:6:"knotes";s:6:"onetoc";s:6:"knotes";s:7:"onetoc2";s:6:"knotes";s:3:"otf";s:4:"font";s:3:"pdf";s:3:"pdf";s:3:"pic";s:5:"image";s:4:"pict";s:5:"image";s:3:"png";s:7:"default";s:3:"pot";s:11:"interactive";s:4:"potm";s:11:"interactive";s:4:"potx";s:11:"interactive";s:4:"ppam";s:11:"interactive";s:2:"ps";s:10:"postscript";s:3:"psd";s:5:"image";s:3:"pub";s:8:"document";s:2:"qt";s:9:"quicktime";s:2:"ra";s:5:"audio";s:3:"rgb";s:5:"image";s:3:"rtx";s:4:"text";s:3:"snd";s:5:"audio";s:3:"sql";s:8:"database";s:3:"svg";s:9:"vectorgfx";s:3:"tif";s:7:"default";s:4:"tiff";s:7:"default";s:3:"trm";s:11:"interactive";s:3:"ttf";s:13:"font_truetype";s:3:"w6w";s:8:"document";s:3:"wax";s:5:"audio";s:4:"webm";s:5:"video";s:2:"wm";s:5:"video";s:3:"wmf";s:9:"vectorgfx";s:3:"wmx";s:5:"video";s:4:"woff";s:4:"font";s:4:"word";s:8:"document";s:3:"wri";s:8:"document";s:3:"xla";s:11:"spreadsheet";s:4:"xlam";s:11:"spreadsheet";s:3:"xlc";s:11:"spreadsheet";s:3:"xlm";s:11:"spreadsheet";s:3:"xlt";s:11:"spreadsheet";s:4:"xltm";s:11:"spreadsheet";s:4:"xltx";s:11:"spreadsheet";s:3:"xlw";s:11:"spreadsheet";s:3:"xml";s:4:"code";s:3:"xsl";s:5:"style";s:4:"xslt";s:4:"code";}}s:16:"enable_mla_icons";s:9:"unchecked";}

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the additional information and the link to Visual Composer. I hope that unchecking the “Enable Media Grid Enhancements” and “Enable Media Manager Enhancements” boxes eliminated the problem and the PHP errors in the log.

    Visual Composer is a premium plugin. I hope you understand that I cannot afford to purchase premium plugins and themes simply to provide support for my own free plugin. I will contact the developers to see if I can get a copy for testing and resolving this issue. In the interim I hope the solution I suggested gives you a way to avoid the problem.

    Plugin Author David Lingren

    (@dglingren)

    I regret that I have spent some time on the Visual Composer for WordPress web site and I can find no way to contact the developers without an active Envato account.

    If you still have a problem and have an Envato account perhaps you can contact them, reference this support topic and ask if you can send me a copy of the plugin for my testing of your issue. If you do get permission, you can send me your contact information from the Contact Us page at our web site:

    Fair Trade Judaica/Contact Us

    I will respond with an address you can use to continue this topic offline. Thanks for your patience and your understanding. Let me know if you still need help or if I can resolve this topic.

    Thread Starter fireemerald

    (@fireemerald)

    I opened an request and will take a look what they answer, because your free support is kind of premium. I hope you will be able to find the reason of the problem if they will provide you a testing license.

    For now we disabled the settings from above and hope that the error won’t trigger again. I will provide you their response when i got it.

    Plugin Author David Lingren

    (@dglingren)

    Thank you for working with me offline to get a copy of Visual Composer for my testing. I am happy to report that I have found and fixed an MLA bug that generated the PHP fatal errors when the VC “template preview” function was accessed.

    I have uploaded a new MLA Development Version dated 20171011 that contains the fix. You can find detailed instructions for getting and installing the Development Version in this earlier topic:

    Create a feed out of the media library

    It would be great if you can install the Development Version and let me know if it works for you. Thanks again for your help in resolving this problem.

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA version 2.61, which contains the fix for the problem you reported.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the fix in the new version.

    Thanks again for reporting the problem and working with me on the solution. Thanks as well for your positive review; it’s a great incentive to keep working on the plugin and supporting its users.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Fatal error, class MLAData not found’ is closed to new replies.