Hello,
I am experiencing an issue with the Snippet Vault plugin on my WordPress site. There is an error message indicating that the wp_add_inline_script()
function is being used incorrectly. According to the message, we should not include <script>
tags within this function, a guideline that has been in place since WordPress version 4.5.0. This error seems to originate from the functions.php
file within wp-includes
, and it’s crucial to ensure that only JavaScript code is passed directly, without any HTML tags. I would appreciate any guidance or update that could resolve this issue.
Thank you for your support.
]]>Hi guys! how are you?
I just added some custom function code into Snippet Vault, but I dont see the option to select this function as “type function”, I only I see Global (front, and back), callable, and scheduled but not FUNCTION.
Also I deleted and installed old versions of this plugin but nothing….
any idea?
I have installed the program Snippet Vault in WP and received the following message: “Snippet module was not loaded, so we loaded it.” What can i do?
]]>Hi Jordy,
I was hoping to move all my custom code from functions.php to the Snippet Vault Plugin. I noticed the “Safe Mode” issue in version 0.1.1, and today I was happy to discover that version 0.1.2 has fixed it.
However, I’ve observed that with Snippet Vault Plugin (version 0.1.2), the snippets are not triggered properly. I created four triggers (with different scopes) to monitor the behavior. Here is a link to the details:
https://monosnap.com/file/3mX4Fm5U0m3gcsG6L3vKJKfax8XwBR
Unfortunately, I’m not able to precisely report what is happening, but I do know that when loading the home page without being authenticated, none of the snippets are triggered. However, the snippets are triggered at login and on some pages that contain a JavaScript callback.
Best regards,
Catalin
Hi Jordy,
I see this in my debug log manager:
PHP Fatal
| May 22, 2024, 15:02:44
Uncaught Error: Call to a member function select() on nullStack trace:#0 /wp-content/plugins/snippet-vault/classes/init.php(120): Meow_MWCODE_Core->execute_active_snippets()#1 /wp-includes/class-wp-hook.php(324): {closure}()#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#3 /wp-includes/plugin.php(517): WP_Hook->do_action()#4 /wp-settings.php(550): do_action()#5 /wp-config.php(111): require_once(‘…’)#6 /wp-load.php(50): require_once(‘…’)#7 /wp-blog-header.php(13): require_once(‘…’)#8 /index.php(17): require(‘…’)#9 {main} thrown in /wp-content/plugins/snippet-vault/classes/core.php on line 427
Plugin: Snippet Vault
File: /wp-content/plugins/snippet-vault/classes/core.php
Line: 427
If you activate this plugin in v3.3.1, the options for editor windows disappear.
For example the top row Icons will all be missing when you edit an article.
If you deactivate it, it will appear again.
]]>