Tim
(@tneville)
Hi Stephane,
What PHP version are you running?
Kind Regards,
Tim
Hi Tim,
Oh you are right ! PHP 7.2.34
I try with a 7.4 or +
Thank you !
Stephane
Tim
(@tneville)
Hi Stephane,
Yes, PHP 7.3+ seems stable enough – oddly enough I have seen a few issues on PHP 7.4 but never had these with my own servers. Weird!
Let us know if you hit any further problems. 🙂
Kind Regards,
Tim
Hi Tim,
I’ve upgraded to PHP 7.4.20, but the warning still displays.
Thank you for your help 🙂
Stephane
Hi Tim,
I’ve just found out that the PHP warning is displayed when the plugin WP Fastest Cache is activated.
Hope it helps 🙂
Have a nice day,
Stephane
Hi again Tim,
Here is the detailed exception :
ErrorException: Warning: Cannot add element to the array as the next element is already occupied
File "/includes/plugin.php", line 1349, in add_menu_page
$menu[] = $new_menu;
File "/home/www/vor.l214.in/public/wp-content/plugins/post-smtp/Postman/PostmanViewController.php", line 115, in PostmanViewController::generateDefaultContent
$mainPostmanSettingsPage = add_menu_page( $pageTitle, $pluginName, Postman::MANAGE_POSTMAN_CAPABILITY_NAME, $uniqueId, $pageOptions );
File "/home/www/vor.l214.in/public/wp/wp-includes/class-wp-hook.php", line 287, in WP_Hook::apply_filters
$value = call_user_func_array( $the_['function'], $args );
File "/home/www/vor.l214.in/public/wp/wp-includes/class-wp-hook.php", line 311, in WP_Hook::do_action
$this->apply_filters( '', $args );
File "/home/www/vor.l214.in/public/wp/wp-includes/plugin.php", line 484, in do_action
$wp_filter[ $tag ]->do_action( $arg );
...
(4 additional frame(s) were not displayed)
Thank you !
Stephane
Tim
(@tneville)
Hi Stephane,
Thank you. I will share this with the developer.
Kind Regards,
Tim
Tim
(@tneville)
@yehudah – useful debugging