• Resolved immwi

    (@immwi)


    Hi all
    the plugin seems not to be compatible with PHP 7.1.6, I get the error message below.
    (PHP 7.0.20 looks fine though)

    Warning: Illegal string offset ‘path’ in /Users/fiw/Sites/wp-content/plugins/m1downloadlist/index.php on line 111

    Fatal error: Uncaught Error: Only variables can be passed by reference in /Users/fiw/Sites/wp-content/plugins/m1downloadlist/index.php:111 Stack trace: #0 /Users/fiw/Sites/wp-includes/shortcodes.php(345): m1dll_shortcode('', '', 'm1dll') #1 [internal function]: do_shortcode_tag(Array) #2 /Users/fiw/Sites/wp-includes/shortcodes.php(223): preg_replace_callback('/\\[(\\[?)(m1dll|...', 'do_shortcode_ta...', '<p>Willkommen z...') #3 /Users/fiw/Sites/wp-includes/class-wp-hook.php(298): do_shortcode('<p>Willkommen z...') #4 /Users/fiw/Sites/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p>Willkommen z...', Array) #5 /Users/fiw/Sites/wp-includes/post-template.php(240): apply_filters('the_content', 'Willkommen zur ...') #6 /Users/fiw/Sites/wp-content/themes/twentyseventeen/template-parts/post/content.php(57): the_content('<span class="sc...') #7 /Users/fiw/Sites/wp-includes/template.php(690): require('/Users/fiw/Site...') #8 /Users/fiw/Sites/wp-includes/template.php(647): load_template('/Users/fiw/Site...', false) #9 /Users in /Users/fiw/Sites/wp-content/plugins/m1downloadlist/index.php on line 111

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!
    Thats’s right. It will be fixed in the next update.
    Please try this woraround: add path=”wp-content/uploads/” to your shortcode and the error message will disappear.

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!
    This issue is fixed with the newest version 0.11.
    Could you please test it and give us a feedback? Thanks!

    Regards,
    Roger

    Thread Starter immwi

    (@immwi)

    Great, it works now fine with PHP 7.1.6.
    Well done!

    Greets Immanuel

    Plugin Author maennchen1.de

    (@maennchen1de)

    Thanks you for your feedback!
    It would give us great pleasure, if you give us 5 stars. :o)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php 7.1 compatibility’ is closed to new replies.