• Resolved jahrat

    (@jahrat)


    I am running my site on WordPress 6.1.1 and your plugin free version 1.8.3. Intermittently I get server errors and the site goes down. The error logs show the faults below.
    PHP Fatal error: Uncaught TypeError: end(): Argument #1 ($array) must be of type array, bool given in /…/plugins/photo-gallery/booster/AdminBar.php:72
    Stack trace:
    #0 /…/plugins/photo-gallery/booster/AdminBar.php(72): end(false)
    #1 /…/plugins/photo-gallery/booster/AdminBar.php(40): TWBAdminBar->get_page_speed_status()
    #2 /…/plugins/photo-gallery/booster/main.php(270): TWBAdminBar->__construct(Object(WP_Admin_Bar), Object(TenWebBooster))
    #3 /…/wp-includes/class-wp-hook.php(308): TenWebBooster->admin_bar_menu(Object(WP_Admin_Bar))
    #4 /…/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #5 /…/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #19 {main}
    thrown in /…/wp-content/plugins/photo-gallery/booster/AdminBar.php on line 72
    `
    I removed several lines from the stack trace for convenience. However, if it is needed let me know. I navigated to the “Speed & Image” page and disabled Show all PageSpeeds score elements in WordPress admin. Hopefully, this will stop the crashes for now until it is fixed.

    • This topic was modified 2 years ago by jahrat.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @jahrat,

    My apologies for any inconvenience you may have encountered.

    There will be a new 1.8.4 version released today, which will solve the problem.

    Once the revised version is released, please make sure to update the plugin.

    Thank you for your patience.

    mlight56

    (@mlight56)

    I did the update on the plug-in and got this message: ” There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.”

    And so my site went down.

    akxak

    (@akxak)

    For some strange reason, the plugin hardcoded expexts another plugin, the “Booster” plugin to be present… and fails if the directory “/booster” is missing.

    Would you guys please revert this dependency or at least check its presence before relying on it?

    • This reply was modified 2 years ago by akxak.
    var12

    (@var12)

    Hi all, I’m using version 6.1.1 and I’m using your plugin 1.8.4
    I’ve had this error for a few days:

    Warning: Illegal string offset .... /wp-content/plugins/photo-gallery/booster/main.php on line 181
    
    Warning: Illegal string offset .... wp-content/plugins/photo-gallery/booster/main.php on line 181
    
    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method WPToolKit_Plugin::wpt_override_plugin_names() should not be called statically in .... /wp-includes/class-wp-hook.php on line 308

    How can I solve the problem? Thanks!

    var12

    (@var12)

    here is line 181 that gives problems

    177 private function change_defaults( $params = array()) {
    178 foreach ( $params as $key => $param ) {
    179 if ( is_array($param) ) {
    180 foreach ( $param as $par_key => $par ) {
    181 if ( isset($this->$key[$par_key]) ) {
    182 $this->$key[$par_key] = sanitize_text_field($par);

    what should I do? please help me to solve the problem. Thank you

    Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Dear @mlight56,

    Could you kindly contact [email protected] and submit PHP error log of your website so that our team could look into the potential cause of the critical error?

    Thank you very much in advance!

    Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Dear @var12 and @akxak ,

    Thank you very much for reporting your issues,

    Our team is now investigating them and we’ll get back to you with updates very soon,

    Sincerest apologies for the inconvenience!

    mlight56

    (@mlight56)

    I did the update for the new version and get the message:

    “There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.” BLANK PAGE.

    Here is the log error from my server admin:

    “We see the below error log here on the website 2019eurotrip.art logs. Do you want to check this with the plugin provide first?
    ——————————————————————-

    Cannot redeclare get_plugin_data() (previously declared in /var/www/volumes/xvdp/vhosts/2019eurotrip.art/httpdocs/wp-admin/includes/plugin.php:72

    ——————————————————————-“

    @nikitaanisimov
    What should I do? please help me to solve the problem. Thank you

    Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Dear @var12 and @akxak ,

    Thank you very much for your patience,
    We have just released the new 1.8.5 version of the plugin addressing the issues mentioned by you,

    Could you kindly update your plugin to the latest version and let me know if it resolves the issues?

    Thank you!

    Plugin Support Nikita Anisimov

    (@nikitaanisimov)

    Dear @mlight56, thank you for the error logs,

    The issue does not seem connected with PG as we are not declaring get_plugin_data() function, it is a WP function.

    May I suggest updating your plugin to 1.8.5 as well and re-check the logs again?
    Please, keep me posted!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Site Dies Intermittently’ is closed to new replies.