• Resolved Clifford Paulick

    (@cliffpaulick)


    Fresh install without any settings yet:

    [23-May-2020 21:57:21 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/youtube-embed-plus/youtube.php on line 200
    [23-May-2020 21:57:21 UTC] PHP Stack trace:
    [23-May-2020 21:57:21 UTC] PHP 1. {main}() /wp-admin/plugins.php:0
    [23-May-2020 21:57:21 UTC] PHP 2. activate_plugin() /wp-admin/plugins.php:44
    [23-May-2020 21:57:21 UTC] PHP 3. include_once() /wp-admin/includes/plugin.php:659
    [23-May-2020 21:57:21 UTC] PHP 4. YouTubePrefs->__construct() /wp-content/plugins/youtube-embed-plus/youtube.php:8208

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author embedplus

    (@embedplus)

    Thanks; however we’re not experiencing that on a fresh install. Can you please provide the following:

    1) The rest of the stack trace (it appears what you’ve pasted only includes the instantiation of the plugin rather then the line that the notice occurs for you)
    2) The version of PHP you’re running
    3) The screen/URL you were on, that triggers the notice in your log.

    Thread Starter Clifford Paulick

    (@cliffpaulick)

    Thanks for the quick reply.

    I gave you everything I had in my debug.log with WP_DEBUG and WP_DEBUG_LOG enabled.

    PHP 7.4.1

    I activated the plugin and started the wizard, got to I think step 3 (wherever API key is entered) but didn’t make it past that because of an issue with my Google Console.

    Plugin Author embedplus

    (@embedplus)

    The Google Console is on a different site and not part of the plugin, so can you elaborate? Here are the instructions for generating an API key:
    https://www.embedplus.com/how-to-create-a-youtube-api-key.aspx

    Thread Starter Clifford Paulick

    (@cliffpaulick)

    Right. When I was in the setup wizard that linked me to where/how to generate an API key, that’s where it happened.

    Plugin Author embedplus

    (@embedplus)

    We have a solution that will be released in the next update. It doesn’t seem that the issue blocked you from anything however…please confirm that you were still able to do work.

    Thread Starter Clifford Paulick

    (@cliffpaulick)

    Correct, although personally I bailed due to an issue with my Google account.

    tyvm!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP_DEBUG message: Trying to access array offset on value of type bool’ is closed to new replies.