• Resolved ljfox

    (@ljfox)


    We have participants database, pdf image expansion and pdf recaptcha. There were 2 updates today and as soon as I updated, I now have a Fatal Error and the website is inaccessible.

    This is the error message:
    Failed opening required ‘/home2/cliviaso/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/../yahnis-elsts/plugin-update-checker/load-v4p13.php’ (include_path=’.:/opt/cpanel/ea-php80/root/usr/share/pear’)

    I am not very technical so no idea where to start to restore the website.

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

Viewing 7 replies - 16 through 22 (of 22 total)
  • alanbaker

    (@bakeralanbakernet)

    When I attempt to log in or bring up any page on caspvt.org, I just get a blank page.

    BEFORE renaming plugin xnau-plugin-updated to xnau-plugin-updated0, WP-DEBUG says:

    [19-Apr-2023 23:38:14 UTC] PHP Warning:  require(/home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/../yahnis-elsts/plugin-update-checker/load-v4p13.php): Failed to open stream: No such file or directory in /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php on line 78
    [19-Apr-2023 23:38:14 UTC] PHP Warning:  require(/home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/../yahnis-elsts/plugin-update-checker/load-v4p13.php): Failed to open stream: No such file or directory in /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php on line 78
    [19-Apr-2023 23:38:14 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/../yahnis-elsts/plugin-update-checker/load-v4p13.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php:78
    Stack trace:
    #0 /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php(61): composerRequirea2b184e93c3b39e0d9d38595f08736dc('7166494aeff0900...', '/home/caspvtor/...')
    #1 /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/autoload.php(25): ComposerAutoloaderInita2b184e93c3b39e0d9d38595f08736dc::getLoader()
    #2 /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/xnau-plugin-updates.php(48): require_once('/home/caspvtor/...')
    #3 /home/caspvtor/public_html/wp-content/plugins/pdb-combo-multisearch/pdbcms/Plugin.php(110): xnau_plugin_updates::setup('/home/caspvtor/...', 'pdb-combo-multi...')
    #4 /home/caspvtor/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php(162): pdbcms\Plugin->setup_updates('/home/caspvtor/...')
    #5 /home/caspvtor/public_html/wp-includes/class-wp-hook.php(308): PDb_Aux_Plugin->{closure}('')
    #6 /home/caspvtor/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(Object(Pods_Templates_Auto_Template_Front_End), Array)
    #7 /home/caspvtor/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /home/caspvtor/public_html/wp-settings.php(623): do_action('init')
    #9 /home/caspvtor/public_html/wp-config.php(101): require_once('/home/caspvtor/...')
    #10 /home/caspvtor/public_html/wp-load.php(50): require_once('/home/caspvtor/...')
    #11 /home/caspvtor/public_html/wp-blog-header.php(13): require_once('/home/caspvtor/...')
    #12 /home/caspvtor/public_html/index.php(17): require('/home/caspvtor/...')
    #13 {main}
      thrown in /home/caspvtor/public_html/wp-content/plugins/xnau-plugin-updates/vendor/composer/autoload_real.php on line 78
    

    AFTER renaming plugin xnau-plugin-updated to xnau-plugin-updated0, WP-DEBUG says:

    [19-Apr-2023 23:46:57 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /home/caspvtor/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php:1048
    Stack trace:
    #0 /home/caspvtor/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php(1048): in_array('Combo Multi Sea...', false)
    #1 /home/caspvtor/public_html/wp-content/plugins/pdb-combo-multisearch/pdbcms/Plugin.php(106): PDb_Aux_Plugin::missing_updater_plugin_notice('Combo Multi Sea...')
    #2 /home/caspvtor/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php(162): pdbcms\Plugin->setup_updates('/home/caspvtor/...')
    #3 /home/caspvtor/public_html/wp-includes/class-wp-hook.php(308): PDb_Aux_Plugin->{closure}('')
    #4 /home/caspvtor/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(Object(Pods_Templates_Auto_Template_Front_End), Array)
    #5 /home/caspvtor/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /home/caspvtor/public_html/wp-settings.php(623): do_action('init')
    #7 /home/caspvtor/public_html/wp-config.php(101): require_once('/home/caspvtor/...')
    #8 /home/caspvtor/public_html/wp-load.php(50): require_once('/home/caspvtor/...')
    #9 /home/caspvtor/public_html/wp-login.php(12): require('/home/caspvtor/...')
    #10 {main}
      thrown in /home/caspvtor/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php on line 1048
    

    The uncaught TypeError in PDb_Aux_Plugin.php looks like the same thing that ljfox reported above. Does the stack trace help narrow down the problem?

    Plugin Author xnau webdesign

    (@xnau)

    Thanks, yes that is helpful.

    You can fix this yourself if you want…otherwise, it’s going to need to wait for an update to Participants Database, which will need a couple of hours to be ready.

    To fox this, use the plugin editor and open the file classes/PDb_Aux_Plugin.php

    On line 1048, you’ll see:

    if ( ! in_array( $plugin_name, $plugin_name_list ) )

    You’ll need to add a line before that one, so put the cursor at the beginning of the line and hit return, This will give you a new blank line. On that line add:

    if ( ! is_array( $plugin_name_list ) ) $plugin_name_list = array( $plugin_name );

    So this new line will be in addition to the code that is there.

    Plugin Author xnau webdesign

    (@xnau)

    I just pushed out a quick update to fix this issue: Participants Database 2.4.9

    Thread Starter ljfox

    (@ljfox)

    Via FTP I added a 0 to the file name for Participants Database, the recaptcha, image expansion and updater plugins folders.

    The website is now accessible except for the Participants Database section. That will keep the organisation happy until I get back in 3 days time.

    I guess them I enable one at a time to identify which one is the issue. I see there is an update for Participants Database. I’ll try that first and report back.

    alanbaker

    (@bakeralanbakernet)

    Using FTP, I renamed all PDB-related plugins to *0, which enabled me to log into the dashboard. Then I activated PDB 2.4.9, Combo Multisearch 2.6.5, Custom Templates 2.4.1, and the site stayed up. But the site still has Plugin Updates 1.5. Where do I get Plugin Updates 1.5.1? Or is it not needed? The “Visit plugin site” link on the plugins page leads here.

    Plugin Author xnau webdesign

    (@xnau)

    It’s really only necessary to rename the xnau-plugin-updates directory because it was the source of the problem.

    Did you change the plugin directory names back to what they were before you reactivated them? It is possible to reactivate plugins that have an altered directory name, but you won’t get updates for those plugins anymore because the directory name identifies the plugin.

    Yes, you still need the updater plugin. To update the plugin updater, you should delete it, then download it again and reinstall it. xnau Plugin Updater

    Thread Starter ljfox

    (@ljfox)

    Just an update that I have updated plugins and all is fine now. Thank you.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Problem with plugin update’ is closed to new replies.