• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Admin Menu Editor (PHP Upgrade Issue)

jigarashar

Active member
Jan 7, 2019
229
97
28
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Wilmer Child (version 1.0.1)
Current plugin: Admin Menu Editor Pro (version 2.18.1)
PHP version 8.0.26



Error Details
=============
An error of type E_ERROR was caused in line 546 of the file /home/public_html/wp-content/plugins/admin-menu-editor-pro/license-manager/BasicPluginLicensingUi.php. Error message: Uncaught Error: Undefined constant "trrue" in /home/public_html/wp-content/plugins/admin-menu-editor-pro/license-manager/BasicPluginLicensingUi.php:546
Stack trace:
#0 /home/public_html/wp-includes/class-wp-hook.php(306): Wslm_BasicPluginLicensingUI->printPluginRowNotice()
#1 /home/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#2 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/public_html/wp-admin/includes/class-wp-plugins-list-table.php(1357): do_action('after_plugin_ro...', 'admin-menu-edit...', Array, 'all')
#4 /home/public_html/wp-admin/includes/class-wp-plugins-list-table.php(695): WP_Plugins_List_Table->single_row(Array)
#5 /home/public_html/wp-admin/includes/class-wp-list-table.php(1444): WP_Plugins_List_Table->display_rows()
#6 /home/public_html/wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder()
#7 /home/public_html/wp-admin/plugins.php(773): WP_List_Table->display()
#8 {main}
thrown

I am getting this error on many websites after upgrading from PHP 5.6 to 8.0/8.1, can anyone help?
 
You can downgrade php 7.4 which is more stable rather than 8.0 (Because most author of plugin/themes not implemented to php 8 yet)
 
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Wilmer Child (version 1.0.1)
Current plugin: Admin Menu Editor Pro (version 2.18.1)
PHP version 8.0.26



Error Details
=============
An error of type E_ERROR was caused in line 546 of the file /home/public_html/wp-content/plugins/admin-menu-editor-pro/license-manager/BasicPluginLicensingUi.php. Error message: Uncaught Error: Undefined constant "trrue" in /home/public_html/wp-content/plugins/admin-menu-editor-pro/license-manager/BasicPluginLicensingUi.php:546
Stack trace:
#0 /home/public_html/wp-includes/class-wp-hook.php(306): Wslm_BasicPluginLicensingUI->printPluginRowNotice()
#1 /home/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#2 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/public_html/wp-admin/includes/class-wp-plugins-list-table.php(1357): do_action('after_plugin_ro...', 'admin-menu-edit...', Array, 'all')
#4 /home/public_html/wp-admin/includes/class-wp-plugins-list-table.php(695): WP_Plugins_List_Table->single_row(Array)
#5 /home/public_html/wp-admin/includes/class-wp-list-table.php(1444): WP_Plugins_List_Table->display_rows()
#6 /home/public_html/wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder()
#7 /home/public_html/wp-admin/plugins.php(773): WP_List_Table->display()
#8 {main}
thrown

I am getting this error on many websites after upgrading from PHP 5.6 to 8.0/8.1, can anyone help?
It looks like there is a typo in the plugin file that you are using. The error message mentions an undefined constant "trrue" in line 546 of the file /home/public_html/wp-content/plugins/admin-menu-editor-pro/license-manager/BasicPluginLicensingUi.php.

This error is caused by a typo in the code. It seems that the word "true" has been misspelled as "trrue". This is causing a PHP error because "trrue" is not defined as a constant.

To fix this issue, you will need to edit the plugin file and correct the typo. You will need to change "trrue" to "true" wherever it appears in the file. After making the necessary changes, you should save the file and refresh the page to see if the error has been resolved.
 
  • Love
  • Like
Reactions: aCiDeViL and guguk
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock