• Resolved Nico

    (@gooloode)


    Hi, i’m seeing the following issue in my debug.log

    [21-Sep-2024 21:35:49 UTC] PHP Warning: Attempt to read property “title” on null in /home3/gooloode/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 108
    [21-Sep-2024 21:35:49 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gooloode/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 108
    [21-Sep-2024 21:35:52 UTC] PHP Warning: Attempt to read property “title” on null in /home3/gooloode/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 108
    [21-Sep-2024 21:35:52 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gooloode/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 108

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @gooloode,

    These errors come from a snippet you’ve added to your site, not from the Code Snippets plugin itself. It’s not something we can fix on our end, but if you’re able to identify the snippets causing the issue and post them here, I’d be happy to suggest some fixes.

    You should be able to narrow down to specific snippets with these searches:

    title @line:108

    str_replace @line:108

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.