unfortunately I do not know PHP and I ask you a support for errors that appear to me. With Wordpress updated recently (automatically) to r. 5.0.2, if I save the changes to a page the following errors appear to me:Warning: preg_match_all (): Compilation failed: invalid range in character class at offset 11 in /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc -grid.php online 162
Warning: Can not modify header information (output started at /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc-grid. php: 162) in /home/.........../public_html/wp-admin/post.php online 209
Warning: Can not modify header information (output started at /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc-grid. php: 162) in /home/.........../public_html/wp-includes/pluggable.php on line 1223
In reality, changes to the page remain saved but errors are reported.I had installed the Classic Editor plugin, as indicated by the Wordpress developers in anticipation of the upgrade to the r. 4.9.0, and I have TinyMCE Advanced that I use as an editor, in addition to the bundled WP Baker editor.
I add that I also updated the Salient theme to r. 10.0.1, Salient WPBakery Page Builder plugin to r. 5.6 (after WP 5.0.2), and I've disabled TinyMCE Advanced and Classic editor plugins.
based on what I read at the link you sent me, I tried to partially and completely comment on the "Filters the redirect status code" of the pluggable.php file, but I have not solved the problem. I have also disabled all plugins and I have identified as a possible cause of the conflict / error the Salient WPBakery Page Builder plugin. I also tried to configure various options by disabling / activating the other affected plugins, such as Classic Editor, TinyMCE, but I did not solve the problem.If you do not have other options to correct the problem, I will have to resign myself to working with these error messages, because in reality the page changes are saved if I click on Update.
I commented on the string preg_match_all ("/ $ pattern /", $ content, $ found); of the hook-vc-grid.php file, the error message is no longer present.Thank you very much, I appreciated your support.
Hello,
unfortunately I do not know PHP and I ask you a support for errors that appear to me. With Wordpress updated recently (automatically) to r. 5.0.2, if I save the changes to a page the following errors appear to me:Warning: preg_match_all (): Compilation failed: invalid range in character class at offset 11 in /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc -grid.php online 162
Warning: Can not modify header information (output started at /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc-grid. php: 162) in /home/.........../public_html/wp-admin/post.php online 209
Warning: Can not modify header information (output started at /home/.........../public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc-grid. php: 162) in /home/.........../public_html/wp-includes/pluggable.php on line 1223
In reality, changes to the page remain saved but errors are reported.I had installed the Classic Editor plugin, as indicated by the Wordpress developers in anticipation of the upgrade to the r. 4.9.0, and I have TinyMCE Advanced that I use as an editor, in addition to the bundled WP Baker editor.
Can you help me?Thank youVanni
I add that I also updated the Salient theme to r. 10.0.1, Salient WPBakery Page Builder plugin to r. 5.6 (after WP 5.0.2), and I've disabled TinyMCE Advanced and Classic editor plugins.
Hey Again, Hope you had a Great Weekend,
Please have a look at this Article :https://www.wpbeginner.com/wp-tutorials/how-to-fix-pluggable-php-file-errors-in-wordpress/ .
Best
ThemeNectar Support Team
Hey Thair,
based on what I read at the link you sent me, I tried to partially and completely comment on the "Filters the redirect status code" of the pluggable.php file, but I have not solved the problem. I have also disabled all plugins and I have identified as a possible cause of the conflict / error the Salient WPBakery Page Builder plugin. I also tried to configure various options by disabling / activating the other affected plugins, such as Classic Editor, TinyMCE, but I did not solve the problem.If you do not have other options to correct the problem, I will have to resign myself to working with these error messages, because in reality the page changes are saved if I click on Update.
Thanks a lot.Have a Great Day!
Vanni
Hey Again,
This might help :https://premium.wpmudev.org/blog/fixing-cannot-modify-header-error/ .
Best
ThemeNectar Support Team
Hey Thair!
I commented on the string preg_match_all ("/ $ pattern /", $ content, $ found); of the hook-vc-grid.php file, the error message is no longer present.Thank you very much, I appreciated your support.
Have great day and happy new year!
Vanni