Forum Replies Created

Viewing 10 replies - 31 through 40 (of 40 total)
  • Plugin Author Imants

    (@0aksmith)

    Hello @lida2926,

    Thank you for reaching out. We have checked on our end, but unfortunately, we couldn’t reproduce the behavior you’ve reported. Could you please share the link to your site so we can take a closer look and investigate further?

    Looking forward to your response!

    Plugin Author Imants

    (@0aksmith)

    Hello @ddrapeau,

    Thank you for reporting this issue. We will definitely investigate the problem with syntax error highlighting. Could you share what the error was that the latest version didn’t highlight properly? This will help us pinpoint and resolve the issue more effectively.

    Thanks again for your feedback!

    Plugin Author Imants

    (@0aksmith)

    Hello @patrickmarq,

    Apologies for the late reply! I hope you’re doing well. I was able to locate the button from the snippet you shared, and it appears to be working fine on the site.

    If you’re still experiencing issues, it could be related to other factors, such as recent changes or updates to the plugin using the mwl_img_title filter.

    Plugin Author Imants

    (@0aksmith)

    Hello @mask666,

    Thank you for sharing the details.

    If deactivating the Code Snippets plugin didn’t resolve the issue, it’s likely that the issue is being caused by another plugin or the theme. I recommend the following steps to troubleshoot:

    • Switch the theme: Temporarily switch to a default WordPress theme (e.g., Twenty Twenty-One) to check if the issue persists. This will help rule out theme-related issues.
    • Deactivate other plugins: Deactivate all other plugins except for Code Snippets, and then check if the problem still occurs. If the issue disappears, reactivate each plugin one by one to pinpoint which one is causing the issue.
    Plugin Author Imants

    (@0aksmith)

    Hi @mijstrebor,

    We are still investigating this issue and working on a fix on the cloud side to prevent further duplications when syncing snippets. We understand that having a large number of duplicates can be frustrating, and we appreciate your patience as we address this.

    In the meantime, if you need direct support related to Code Snippets Cloud, please reach out to us via Discord at snipco.de/discord. Our team will be happy to assist you there.

    Thank you for bringing this to our attention!

    • This reply was modified 1 year, 6 months ago by Imants.
    Plugin Author Imants

    (@0aksmith)

    Hi @vita1234 !!
    Dear apologies for letting you wait on this explanation.

    The issue occurs because the Code Snippets plugin executes each snippet in isolation but still within the same PHP runtime environment. When SnippetB calls snipA(), it requires snipA() to be defined, which means SnippetA must have been executed beforehand.

    However, the problem arises when you later try to save SnippetA. Since SnippetB already executed snipA() in the same environment, trying to save (and potentially re-run) SnippetA causes a function redeclaration error, which is a fatal error in PHP. This results in the 500 error when saving.

    Even though calling snipA() from SnippetB works because the function is already defined, the issue surfaces when reloading or modifying the snippet that originally defined it.

    The solution is to use if (!function_exists('snipA')) before defining the function in both snippets, preventing PHP from attempting to redeclare it. This ensures that no matter which snippet runs first, it won’t cause conflicts.

    Please note, that this is a side effect of how PHP handles function definitions across multiple executed snippets.

    Plugin Author Imants

    (@0aksmith)

    Thank you all for your patience and collaboration! We have identified the issue that broke the nested shortcodes evaluation and a new version will be released very soon.

    Plugin Author Imants

    (@0aksmith)

    Hi there @insecttrojan 👋
    Thank you for reporting your issue, we are currently still investigating this and will do our best to address this in future releases.

    Plugin Author Imants

    (@0aksmith)

    @uk03 just for us to understand the situation better, are you using this PHP code in an HTML snippet?

    Plugin Author Imants

    (@0aksmith)

    Hi @nadworks and @robertstaddon,

    Thank you for reporting the issues with the Code Vaults.

    As the demand on the Cloud platform increases, we are currently upgrading our infrastructure to better handle this growth. These updates may have caused some unexpected behavior with our Cloud API.

    At this moment, we are in the process of scaling and performing maintenance on the Cloud platform, which has led to slower response times and occasional issues. While these problems should be largely mitigated now, the upscaling will continue throughout next week, and there is a slight chance you may still experience some unexpected behavior.

    Please rest assured that all user changes are being saved, and we are actively working to prevent any data loss.

    We greatly appreciate your understanding and encourage you to reach out with any further issues.
    For Code Snippets Cloud related support, please join our Discord server at https://snipco.de/discord.

    Thank you again!

Viewing 10 replies - 31 through 40 (of 40 total)