• tspaenle

    (@tspaenle)


    Hello,

    This morning, I found the site with global fatal error. I deactivated all plugins and could access the admin panel. I reactivated all plugins, except Mailpoet which generates fatal error (on version 5.2). I updated the plugin to V5.2.2, same error :

    Fatal error: Uncaught Error: Call to undefined function assert() in /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:231 Stack trace: #0 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php(94): MailPoetVendor\Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getRealClass() #1 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/Doctrine/TablePrefixMetadataFactory.php(44): MailPoetVendor\Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() #2 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(143): MailPoet\Doctrine\TablePrefixMetadataFactory->getMetadataFor() #3 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/Doctrine/Repository.php(36): MailPoetVendor\Doctrine\ORM\EntityManager->getClassMetadata() #4 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4953): MailPoet\Doctrine\Repository->__construct() #5 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4943): MailPoetGenerated\FreeCachedContainer->getSettingsRepositoryService() #6 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2647): MailPoetGenerated\FreeCachedContainer->getSettingsController2Service() #7 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #8 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make() #9 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get() #10 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/mailpoet_initializer.php(88): MailPoet\DI\ContainerWrapper->get() #11 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/mailpoet.php(194): require_once(‘…’) #12 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-admin/includes/plugin.php(2387): include_once(‘…’) #13 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-admin/plugins.php(194): plugin_sandbox_scrape() #14 {main} thrown in?/media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php?on line?231

    I need your support to solve this issue (we have a premium licence on this site).

    Thanks in avance

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gui A. a11n

    (@guicmazeredo)

    Hi there,

    Thanks for reaching out and I’m sorry that you are experiencing errors on your site.

    As a first troubleshooting step, can you follow the instructions to?re-install the plugin via FTP?and let us know if it resolves the issue? This will ensure no plugin files are missing or corrupted.

    Don’t worry,?you won’t lose any data from the plugin?since it’s saved in your database, not the plugin files. However, whenever making any changes like this, we recommend making sure you have a full backup of the site just in case.

    If the issue persists, as you have a Premium license, you can use our support form for premium customers. This will create a ticket on our support ticket and you should get faster responses.

    Thank you!

    Thread Starter tspaenle

    (@tspaenle)

    Hello,

    The issue happens when I activate the plugin. Plugin re-installed, same error.

    I already opened a ticket to premium support, without any answer yet.

    L’extension n’a pas pu être activée, car elle a déclenché une?erreur fatale.


    Fatal error: Uncaught Error: Call to undefined function assert() in /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:231 Stack trace: #0 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php(94): MailPoetVendor\Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getRealClass() #1 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/Doctrine/TablePrefixMetadataFactory.php(44): MailPoetVendor\Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() #2 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(143): MailPoet\Doctrine\TablePrefixMetadataFactory->getMetadataFor() #3 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/Doctrine/Repository.php(36): MailPoetVendor\Doctrine\ORM\EntityManager->getClassMetadata() #4 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4953): MailPoet\Doctrine\Repository->__construct() #5 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4943): MailPoetGenerated\FreeCachedContainer->getSettingsRepositoryService() #6 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2647): MailPoetGenerated\FreeCachedContainer->getSettingsController2Service() #7 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #8 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make() #9 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get() #10 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/mailpoet_initializer.php(88): MailPoet\DI\ContainerWrapper->get() #11 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/mailpoet.php(194): require_once(‘…’) #12 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-admin/includes/plugin.php(2387): include_once(‘…’) #13 /media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-admin/plugins.php(194): plugin_sandbox_scrape() #14 {main} thrown in?/media/nfs-viaduc/data/h20726/sites/performancegolftour/www/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php?on line?231

    I need your support to solve this issue (we have a premium licence on this site).

    Thanks in avance

    Plugin Author Jan Lysy

    (@lysyjan87)

    Hi there,

    I’ve looked into the issue, and the error message you’re seeing indicates that the assert() PHP function is unavailable. This could be due to your server’s PHP configuration or a possible issue with the PHP installation itself.

    Could you let us know which hosting provider you’re using? I recommend reaching out to your hosting provider and asking them to check the PHP configuration or reinstall PHP if needed. They should be able to assist you in resolving this issue.

    Let us know how it goes!

    Thread Starter tspaenle

    (@tspaenle)

    Hi Jan,

    Thank you, you found the solution.

    Assert function was removed by my hosting provider. once it was on again, I could reactivate Mailpoet.

    Thanks a lot for your efficient support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.