Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ejw773

    (@ejw773)

    I installed the update, and it broke some things on the site. Here are the logs:

    [28-Aug-2023 12:37:36 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php:100
    Stack trace: 0 /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php(49): Class_rf->rf_exe(‘log’, Object(stdClass), false) 1 [internal function]: Class_rf->exc_handler(Object(TypeError)) 2 {main}

    thrown in /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php on line 100
    [28-Aug-2023 12:37:36 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php:100
    Stack trace: 0 /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php(31): Class_rf->rf_exe(‘log’, Object(stdClass), false) 1 [internal function]: Class_rf->err_handler(1024, ‘Function is_emb…’, ‘/nas/content/li…’, 5905) 2 /nas/content/live/bjuseminary/wp-includes/functions.php(5905): trigger_error(‘Function is_emb…’, 1024) 3 /nas/content/live/bjuseminary/wp-includes/query.php(882): _doing_it_wrong(‘is_embed’, ‘Conditional que…’, ‘(This message w…’) 4 /nas/content/live/bjuseminary/wp-includes/robots-template.php(93): is_embed() 5 /nas/content/live/bjuseminary/wp-includes/class-wp-hook.php(310): wp_robots_noindex_embeds(Array) 6 /nas/content/live/bjuseminary/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 7 /nas/content/live/bjuseminary/wp-includes/robots-template.php(32): apply_filters(‘wp_robots’, Array) 8 /nas/content/live/bjuseminary/wp-includes/functions.php(3818): wp_robots() 9 /nas/content/live/bjuseminary/wp-includes/functions.php(3740): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array) 10 /nas/content/live/bjuseminary/wp-includes/class-wp-fatal-error-handler.php(239): wp_die(Object(WP_Error), ”, Array) 11 /nas/content/live/bjuseminary/wp-includes/class-wp-fatal-error-handler.php(154): WP_Fatal_Error_Handler->display_default_error_template(Array, Object(WP_Error)) 12 /nas/content/live/bjuseminary/wp-includes/class-wp-fatal-error-handler.php(58): WP_Fatal_Error_Handler->display_error_template(Array, Object(WP_Error)) 13 [internal function]: WP_Fatal_Error_Handler->handle() 14 {main}

    thrown in /nas/content/live/bjuseminary/wp-content/plugins/contests-from-rewards-fuel/includes/Class_rf.php on line 100

    I’m having the same problem – and switching to a different theme from UNICON solves the problem. Any suggestions on how to make Contact Form 7 show messages on the UNICON theme?

    Thread Starter ejw773

    (@ejw773)

    Wow, that was fast! Got it installed. Thanks!

    Thread Starter ejw773

    (@ejw773)

    I have an update: Searching through the codebase for references to $_SERVER[REQUEST_URI], I discovered that it does not actually appear in any of the PHP files for the plugin; I did, however, discover that it appears 13 times in the database!

    In the “options” table, under a few different “option_name”s like “widget_custom-post-type-categories”, it appears several times.

    I’m thinking I should install something like Better Search Replace, and change all of these to $_SERVER['REQUEST_URI']?

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