• hhgk

    (@hhgk)


    Hi,

    are you working on a version of our great plugin that will support PHP version 7/7.1?

    When I’m running your plugin on PHP 7.1 I get multiple errors:

    Warning: A non-numeric value encountered in ../wp-content/plugins/autologin-links/autologin-links.php on line 359

    Warning: A non-numeric value encountered in ../wp-content/plugins/autologin-links/autologin-links.php on line 360

    Warning: A non-numeric value encountered in ../wp-content/plugins/autologin-links/autologin-links.php on line 361

    Thanks and regards,

    Holger

    • This topic was modified 7 years ago by hhgk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPAutoLogin

    (@wpautologin)

    Hi there! Thanks for the tip! I will have a look at this. It seems that those are only warnings though, right?

    It seems easy to fix.

    Hello @wpautologin,
    Thank you for this plugin!
    could you please just replace the “+” in lines 359 to 362 with a “.” and release the new version?

    'link_text' =>    esc_html(__("Link:", PKG_AUTOLOGIN_LANGUAGE_DOMAIN . " javascript popup link title")),
    'press_ctrl_c' => esc_html(__("(press ctrl+c to copy)", PKG_AUTOLOGIN_LANGUAGE_DOMAIN . " javascript popup copy instruction")),
    'title_prefix' => __("Link for ", PKG_AUTOLOGIN_LANGUAGE_DOMAIN . " javascript popup prefix (followed by username)"),
    'ok_button' =>    __("Ok", PKG_AUTOLOGIN_LANGUAGE_DOMAIN . " javascript popup")
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7/7.1 compatibility’ is closed to new replies.