Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 installing recommended plugins #776

Closed
nicolepaschen opened this issue Dec 14, 2022 · 2 comments · Fixed by #778
Closed

PHP 8.1 installing recommended plugins #776

nicolepaschen opened this issue Dec 14, 2022 · 2 comments · Fixed by #778
Milestone

Comments

@nicolepaschen
Copy link
Member

nicolepaschen commented Dec 14, 2022

When activating Crio on an installation with PHP 8.1 and 8.0 (unless that only happened bc I was on 8.1 originally and then downgraded) there are errors when activating recommended plugins when using the checkboxes.

  1. Use installation with PHP8.1 and BoldGrid Connect Plugin (IMH Central installs)
  2. Activate Crio by searching the wp.org repo
  3. Click Begin Installing Plugins
  4. Use the checkboxes to install one or both recommended plugins
  5. See error in dashboard

Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/wordpress/doc_root/wp-admin/includes/class-bulk-upgrader-skin.php:156 Stack trace: #0 /home/wordpress/doc_root/wp-admin/includes/class-bulk-upgrader-skin.php(156): sprintf('%1$s installed ...', 'BoldGrid Easy S...') #1 /home/wordpress/doc_root/wp-content/themes/crio/inc/boldgrid-theme-framework/includes/tgm/class-tgm-plugin-activation.php(3544): Bulk_Upgrader_Skin->after('BoldGrid Easy S...') #2 /home/wordpress/doc_root/wp-admin/includes/class-wp-upgrader.php(825): TGMPA_Bulk_Installer_Skin->after() #3 /home/wordpress/doc_root/wp-content/themes/crio/inc/boldgrid-theme-framework/includes/tgm/class-tgm-plugin-activation.php(3164): WP_Upgrader->run(Array) #4 /home/wordpress/doc_root/wp-content/themes/crio/inc/boldgrid-theme-framework/includes/tgm/class-tgm-plugin-activation.php(3277): TGMPA_Bulk_Installer->run(Array) #5 /home/wordpress/doc_root/wp-content/themes/crio/inc/boldgrid-theme-framework/includes/tgm/class-tgm-plugin-activation.php(2884): TGMPA_Bulk_Installer->bulk_install(Array) #6 /home/wordpress/doc_root/wp-content/themes/crio/inc/boldgrid-theme-framework/includes/tgm/class-tgm-plugin-activation.php(650): TGMPA_List_Table->process_bulk_actions() #7 /home/wordpress/doc_root/wp-includes/class-wp-hook.php(308): TGM_Plugin_Activation->install_plugins_page('') #8 /home/wordpress/doc_root/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #9 /home/wordpress/doc_root/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/wordpress/doc_root/wp-admin/admin.php(259): do_action('appearance_page...') #11 /home/wordpress/doc_root/wp-admin/themes.php(10): require_once('/home/wordpress...') #12 {main} thrown in /home/wordpress/doc_root/wp-admin/includes/class-bulk-upgrader-skin.php on line 156

error

This also leads to a front end error:

Warning: Trying to access array offset on value of type null in/home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/includes/class-boldgrid-connect-service.phpon line58
Warning: Trying to access array offset on value of type null in/home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/includes/class-boldgrid-connect-service.phpon line58

image (1)

This process also breaks the wp-admin link from IMH-Central
image (2)

@nicolepaschen
Copy link
Member Author

Without the BG Connect plugin I get the error in the dashboard, but not the front end error on PHP8
image

@jamesros161 jamesros161 added this to the 2.18.1 milestone Dec 19, 2022
@jamesros161
Copy link
Contributor

The following errors are not related at all to Crio

Warning: Trying to access array offset on value of type null in/home/wordpress/doc_root/wp-content/plugins/boldgrid-connect-feature-rest-api/includes/class-boldgrid-connect-service.phpon line58```

These are actually being caused by a completely unrelated issue with the boldgrid connect plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants