Forum Replies Created

Viewing 15 replies - 1 through 15 (of 55 total)
  • Plugin Author Webliberty

    (@webliberty)

    Hello! The plugin is updated regularly as needed. The Cross Site Scripting (XSS) vulnerability has been fixed in the latest update.

    Forum: Reviews
    In reply to: [Simple Spoiler] No support
    Plugin Author Webliberty

    (@webliberty)

    Hello! I do not delete any comments on the site, if you left a comment and it did not appear on the page, anti-spam may have worked.
    The plugin is updated regularly as needed. The Cross Site Scripting (XSS) vulnerability has been fixed in the latest update.

    Plugin Author Webliberty

    (@webliberty)

    Hi! This function is not provided in the plugin.
    If you really want to change this, then open the file for editing:

    /wp-content/plugins/simple-spoiler/js/simple-spoiler.min.js

    Find in the file:
    .hide()

    and replace it with:
    .show()

    Then open the file for editing:

    /wp-content/plugins/simple-spoiler/simple-spoiler.php

    Find in the file in line 103:
    <div class="spoiler-head folded">'.$sp_name.'</div>

    and replace it with:
    <div class="spoiler-head unfolded">'.$sp_name.'</div>

    Please note that when updating the plugin, all changes will disappear.

    Thread Starter Webliberty

    (@webliberty)

    Thank you so much for your support! I’ll be waiting)

    Thread Starter Webliberty

    (@webliberty)

    Hello!
    I have updated the plugin to version 4.2.3.1 where it is stated: Compatibility with PHP 8.1.
    But there are still a lot of warnings from the plugin in my console when the debug is enabled:

    Deprecated: Return type of ActionScheduler_DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 60
    
    Deprecated: Return type of ActionScheduler_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 48
    
    Deprecated: Return type of ActionScheduler_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php on line 27
    
    Warning: Cannot modify header information - headers already sent by (output started at / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php:0) in / /wp-admin/includes/misc.php on line 1381
    
    Warning: Cannot modify header information - headers already sent by (output started at / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php:0) in / /wp-includes/functions.php on line 6878
    
    Warning: Cannot modify header information - headers already sent by (output started at / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_DateTime.php:0) in / /wp-admin/admin-header.php on line 9
    
    null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in / /wp-includes/formatting.php on line 2772
    
    Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in / /wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/functions.php on line 272

    Woocommerce is often repeated here, which I don’t even have installed…

    Thread Starter Webliberty

    (@webliberty)

    Thanks!

    Plugin Author Webliberty

    (@webliberty)

    Hello! Unfortunately, I was not able to reproduce the problem. I checked it in all modern browsers, including Microsoft Edge.

    Plugin Author Webliberty

    (@webliberty)

    Maybe some browser extension is installed that blocks the plugin’s functions?

    Check the browser console for errors.

    Plugin Author Webliberty

    (@webliberty)

    Hello! In which version of the browser does this behavior occur?

    I checked in my Microsoft Edge browser version 89.0.774.68 and could not reproduce this error.

    Plugin Author Webliberty

    (@webliberty)

    Hello!
    This feature is not currently available in the plugin, but you can manually add it.

    In the WordPress dashboard, open the Plugin Editor from the Plugins and Select plugin to edit: Simple Spoiler menu. In simple-spoiler.php file, swap 103 and 104 lines:

    <div class="spoiler-head folded">'.$sp_name.'</div>
    <div class="spoiler-body">'.$content.'</div>

    To get it like this:

    <div class="spoiler-body">'.$content.'</div>
    <div class="spoiler-head folded">'.$sp_name.'</div>

    And save your changes.

    Then open the simple-spoiler.min.js file for editing, find next() in it and replace it with prev(), then save the changes. You may need to clear the cache to display the changes. Done!

    Please note: after updating the plugin, all these changes will be lost and you will have to repeat these steps again. As soon as I have more time, I will think about adding this feature to the plugin settings.

    • This reply was modified 3 years, 12 months ago by Webliberty.
    Thread Starter Webliberty

    (@webliberty)

    Yes. Thanks.

    Thread Starter Webliberty

    (@webliberty)

    Updated the plugin and repeated the steps that caused the error earlier. Now everything is fine, works without errors, WP debug log is clean.

    Thank you very much for your prompt support!

    Thread Starter Webliberty

    (@webliberty)

    Thanks!

    Thread Starter Webliberty

    (@webliberty)

    WP debug log:

    [12-Aug-2020 16:05:43 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Post could not be converted to string in /wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php:316
    Stack trace:
    #0 /wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php(316): preg_replace(Array, '', Object(WP_Post))
    #1 /wp-content/plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php(1089): stcr\stcr_utils->clean_email(Object(WP_Post))
    #2 /wp-includes/class-wp-hook.php(287): stcr\wp_subscribe_reloaded->delete_subscriptions(5547, Object(WP_Post))
    #3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /wp-includes/post.php(5838): do_action('delete_post', 5547, Object(WP_Post in /wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php on line 316
    Plugin Author Webliberty

    (@webliberty)

    Благодарю за отзыв)

Viewing 15 replies - 1 through 15 (of 55 total)