• Version WordPress 4.9.1

    Error:
    [Fri Jan 05 15:26:38.272078 2018] [:error] [pid 1387] [client 73.239.115.224:62549] PHP Fatal error: Uncaught Error: Call to undefined function Endroid\\QrCode\\imagecreate() in /mnt/www/blog/wp-content/plugins/2fas-light/vendor/endroid/qrcode/src/QrCode.php:1408\nStack trace:\n#0 /mnt/www/blog/wp-content/plugins/2fas-light/vendor/endroid/qrcode/src/QrCode.php(730): Endroid\\QrCode\\QrCode->create()\n#1 /mnt/www/blog/wp-content/plugins/2fas-light/TwoFASLight/TOTP/TwoFASLight_TOTP.php(159): Endroid\\QrCode\\QrCode->getDataUri()\n#2 /mnt/www/blog/wp-content/plugins/2fas-light/TwoFASLight/Action/TwoFASLight_Menu_Action.php(27): TwoFASLight\\TOTP\\TwoFASLight_TOTP->generate_qr_code(‘AXMYTB5AKP6YLNP…’)\n#3 /mnt/www/blog/wp-content/plugins/2fas-light/TwoFASLight/TwoFASLight_Init_App.php(20): TwoFASLight\\Action\\TwoFASLight_Menu_Action->handle(Object(TwoFASLight\\TwoFASLight_Init_App))\n#4 /mnt/www/blog/wp-content/plugins/2fas-light/twofas_light.php(123): TwoFASLight\\TwoFASLight_Init_App->run()\n#5 /mnt/www/blog/wp-includes/class-wp-hook.php(286): twofas_light_init(”)\n#6 /mnt/www/blog/wp-includes/class-wp-hook.php(310): WP_Hook- in /mnt/www/blog/wp-content/plugins/2fas-light/vendor/endroid/qrcode/src/QrCode.php on line 1408

    Looks like you expected me to have composer or https://github.com/endroid/qr-code installed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author 2FAS

    (@2fas)

    Sorry to hear that our plugin didn’t work on your site.
    The error you reported looks like a server-side problem and it means that your installation of PHP doesn’t have GD library installed/enabled .
    We do not require you to have a composer because we download all dependencies and attach to the plugin.

    Plugin Author 2FAS

    (@2fas)

    As of version 1.0.3, the plugin checks its requirements and displays clean notice with information what is wrong. Please take note that it still requires GD library to work properly. Thank you for your feedback!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Crashes Site on Install’ is closed to new replies.