Posted: January 16, 2020 at 9:12 pm
Hello, Fatal error: Uncaught EventEspresso\core\exceptions\InvalidDataTypeException: The supplied data for “$name” was an integer, but a string was expected. in /home/stageshnc/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/notifications/PersistentAdminNotice.php:128 Stack trace: #0 /home/stageshnc/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/notifications/PersistentAdminNotice.php(98): EventEspresso\core\domain\entities\notifications\PersistentAdminNotice->setName(470) #1 /home/stageshnc/public_html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php(155): EventEspresso\core\domain\entities\notifications\PersistentAdminNotice->__construct(470, ‘/*!\n * Font Aw…’, false, ‘manage_options’, ‘view persistent…’, false) #2 /home/stageshnc/public_html/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php(109): EventEspresso\core\services\notifications\Per in /home/stageshnc/public_html/wp-content/plugins/event-espresso-core-reg/core/domain/entities/notifications/PersistentAdminNotice.php on line 128 I’ve tried uninstalling and reinstalling EE along with my theme and other plugins, while everything else seems to work as soon as I activate EE I get the above error and am unable to do anything in the admin side of my website. My new host is running a newer version of PHP, could that be the issue? Any help would be much appreciated. Thank you. |
|
Hi, It wouldn’t be a newer version of PHP. It could be something from the original site’s database didn’t get moved correctly which is resulting in something rather unexpected. What you could do is remove the line of code in |
|
Thanks Josh for the help. Changing the line of code allowed EE to activate but now I’m left with a very lengthy notice about Font Awesome that I’m unable to dismiss or remove. After searching through all the files, the only places I can find it being used is in the Better Font Awesome plugin and the Gravity Forms plugin. I’ve tried updating, deactivating and reactivating but nothing works. Any suggestions on how I can remove this notification? thanks. FYI, the notice I receive: ** redacted the rest of this because it’s unnecessary **
|
|
Somehow that fontawesome script made its way into the wp_options table of the site, and it doesn’t seem like it should have been added in the first place. Possibly maybe this was transferred in when the site’s database was copied? In any case, the option that has all of the fontawesome stuff in it will need to be deleted from the database. If you’re familiar with phpmyadmin or a similar tool you could go in, search for an option that’s option value is LIKE the the above string (probably just search for Font Awesome 4.7.0, then delete it. If that’s not something you’re familiar with, we could do it if you can complete the secure form on this page: |
|
Hi Josh, Thanks for your help so far. I’m still having problems so I’ve completed your login details form. Any help would be appreciated. Regards, Lisa |
|
Hi Lisa, Just noting here that I’ve replied directly via email with a solution for this. |
|
The support post ‘Fatal Error /PersistentAdminNotice.php on line 128’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.