Support » Plugin: Multiline files upload for contact form 7 » error on install

  • Resolved Andrea

    (@licoreo)


    hello,
    i try to install 1.6 version and i get this error

    Fatal error: Uncaught Error: Using $this when not in object context in /var/www/vhosts/dev.remediaservizi.it/httpdocs/wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php:585 Stack trace: #0 /var/www/vhosts/dev.remediaservizi.it/httpdocs/wp-admin/includes/plugin.php(2050): include() #1 /var/www/vhosts/dev.remediaservizi.it/httpdocs/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘multiline-files…’) #2 {main} thrown in /var/www/vhosts/dev.remediaservizi.it/httpdocs/wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php on line 585

    any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • devendor

    (@devendor)

    Found a solution: just turn into a comment the last part of the code, is a temporal fix and you’ll not able to load language files, but works.

    // Load languages file
    /*add_action(‘plugins_loaded’, array(&$this,’mfcf7_plugin_init’));
    function mfcf7_plugin_init() {
    load_plugin_textdomain( ‘zl-mfcf7′, false, dirname(plugin_basename(__FILE__)).’/languages/’ );
    }*/

    ?>

    Plugin Author zluck

    (@zluck)

    Hello @licoreo @devendor

    sorry for the inconvenience and thanks for reporting, Just published a hotfix release. its fixed.

    devendor

    (@devendor)

    Thank you @zluck, all is working as spected.

    Plugin Author zluck

    (@zluck)

    :thumbsup:

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.