Undefined variable: userRegistered

GSpeech allows to listen any text from the site, and much more!
Fri Mar 09, 2018 2:24 pm

  • Hi

    I got gSpeech working great on an externally hosted site but on my Flywheel local environment its is throwing up errors. Hoping you can point me in the right direction to solve this issue.

    Environment Details
    Wordpress 4.9.4
    PHP Version 7.1.4
    Webserver: nginx
    MySQL Version: 5.6.34

    Error Trace
    Notice: Undefined variable: userRegistered in /app/public/wp-content/plugins/gspeech/includes/display-functions.php on line 184
    Call Stack
    # Time Memory Function Location
    1 10.4487 9360704 shutdown_action_hook( ) .../load.php:0
    2 10.4487 9360704 do_action( ) .../load.php:679
    3 10.4487 9361080 WP_Hook->do_action( ) .../plugin.php:453
    4 10.4487 9361080 WP_Hook->apply_filters( ) .../class-wp-hook.php:310
    5 10.4487 9362184 wp_ob_end_flush_all( ) .../class-wp-hook.php:286
    6 14.5323 9292960 ob_end_flush ( )
    .../functions.php:3729
    7 14.5323 9391296 wpgs_prepare_html( ) .../functions.php:3729


    ( ! ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpgs_strip_htm(), 1 passed and exactly 2 expected in /app/public/wp-content/plugins/gspeech/includes/display-functions.php on line 215
    ( ! ) ArgumentCountError: Too few arguments to function wpgs_strip_htm(), 1 passed and exactly 2 expected in /app/public/wp-content/plugins/gspeech/includes/display-functions.php on line 215
    Call Stack
    # Time Memory Function Location
    1 10.4487 9360704 shutdown_action_hook( ) .../load.php:0
    2 10.4487 9360704 do_action( ) .../load.php:679
    3 10.4487 9361080 WP_Hook->do_action( ) .../plugin.php:453
    4 10.4487 9361080 WP_Hook->apply_filters( ) .../class-wp-hook.php:310
    5 10.4487 9362184 wp_ob_end_flush_all( ) .../class-wp-hook.php:286
    6 14.5323 9292960 ob_end_flush ( )
    .../functions.php:3729
    7 14.5323 9391296 wpgs_prepare_html( ) .../functions.php:3729
    8 14.5939 9414632 preg_replace_callback ( )
    .../display-functions.php:271
    9 14.5939 9416976 wpgs_strip_htm( ) .../display-functions.php:271


    Thanks
    pgun
     
    Posts: 1
    Joined: Fri Mar 09, 2018 2:10 pm


Return to GSpeech WordPress




Information
  • Who is online
  • Users browsing this forum: No registered users and 0 guests
cron