Elementor plugin is displaying an error during the runtime check
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- php
- Domaine
- testing-qa
Piste de recherche
Commencez par includes/Checker/Runtime_Environment_Setup.php au niveau de l’appel à wp_install et suivez la manière dont Plugin_Check_Command.php invoque set_up(). Reproduisez deux fois la vérification d’Elementor dans un environnement WordPress, examinez debug.log à la recherche de l’erreur fatale signalée et vérifiez que la vérification d’exécution répétée s’achève sans cette erreur.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Describe the bug
During our runtime checks for plugins, we discovered that if the Elementor plugin is active on a website, it also triggers an error. To ensure a smooth experience for other plugins, it is essential that we address this issue promptly.
Steps to Reproduce
- Take latest pull from the branch.
- Set up a WordPress environment.
- Install and activate the Elementor plugin.
- Navigate to the
Admin Panel > Tools > Plugin Check. - Select Elementor from the dropdown menu and click the "Check it!" button.
- Perform the check for a second time.
- Check for any errors in your
debug.logfile.
Screenshots, screen recording, code snippet
PHP Fatal error: Uncaught Exception: Invalid post. in /var/www/html/wp-content/plugins/elementor/core/settings/page/manager.php:101
Stack trace:
#0 /var/www/html/wp-content/plugins/elementor/core/base/document.php(1688): Elementor\Core\Settings\Page\Manager->ajax_before_save_settings(Array, NULL)
#1 /var/www/html/wp-content/plugins/elementor/core/base/document.php(801): Elementor\Core\Base\Document->save_settings(Array)
#2 /var/www/html/wp-content/plugins/elementor/core/kits/manager.php(295): Elementor\Core\Base\Document->update_settings(Array)
#3 /var/www/html/wp-content/plugins/elementor/core/kits/manager.php(457): Elementor\Core\Kits\Manager->update_kit_settings_based_on_option('site_name', 'Plugin Check')
#4 /var/www/html/wp-includes/class-wp-hook.php(310): Elementor\Core\Kits\Manager->Elementor\Core\Kits\{closure}('My Site', 'Plugin Check')
#5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /var/www/html/wp-includes/option.php(570): do_action('update_option_b...', 'My Site', 'Plugin Check', 'blogname')
#8 /var/www/html/wp-admin/includes/upgrade.php(58): update_option('blogname', 'Plugin Check')
#9 /var/www/html/wp-content/plugins/plugin-check/includes/Checker/Runtime_Environment_Setup.php(39): wp_install('Plugin Check', 'plugincheck', 'demo@pluginchec...', false)
#10 /var/www/html/wp-content/plugins/plugin-check/includes/CLI/Plugin_Check_Command.php(136): WordPress\Plugin_Check\Checker\Runtime_Environment_Setup->set_up()
#11 [internal function]: WordPress\Plugin_Check\CLI\Plugin_Check_Command->check(Array, Array)
#12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#13 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
#15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(419): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(442): WP_CLI\Runner->run_command(Array, Array)
#17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1256): WP_CLI\Runner->run_command_and_exit()
#18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#19 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#21 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...')
#22 /usr/local/bin/wp(4): include('phar:///usr/loc...')
#23 {main}
thrown in /var/www/html/wp-content/plugins/elementor/core/settings/page/manager.php on line 101
Environment information
No response
WordPress information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Langage dominant
- PHP
- Étoiles
- 365
- Forks
- 135
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 20
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de WordPress/plugin-check
-
False positive trademarked_term warning for "wc" inside the word "Flowchart"Peut-être pris @anandrajaram21 l’a pris il y a 3 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
WordPress/plugin-check#1556 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Add opt-in .distignore exclusions for local and CI scansPeut-être pris @jakaria-istauk l’a pris il y a 1 jour. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
WordPress/plugin-check#1559 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 58/100
WordPress/plugin-check#1557 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
WordPress/plugin-check#1555 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
PHPErrorReportingSniff flags debug constants used as values in const declarationsPeut-être pris @elphizu l’a pris il y a 7 jours. Ouverte
Difficulté 3/5 Une demi-journée Accessibilité débutants 35/100
WordPress/plugin-check#1553 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de WordPress/plugin-check
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
ExpressionEngine/ExpressionEngine#5493 ·
Les mainteneurs répondent en général sous 5 jours
-
"Attempt to read property 'username' on null" error after a user is deletedPeut-être pris @dicksonlaw583 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
omeka/plugin-SimplePages#49 ·
-
Bug Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
quantum-php/project#222 ·
-
support
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour