Brizy pro and composer
Hi,
I need to use your plugin via composer, in order to make the development of my WordPress sites more sustainable. I created my own private repository where I uploaded the brizy pro zip file, the plugin is added correctly via composer, I only get an error when I try to verify the license, this is my error :
[27-Feb-2024 16:41:38 UTC] PHP Fatal error: Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /Users/****/Desktop/worked/****/vendor/monolog/monolog/src/Monolog/Logger.php on line 681
-
Hi
Unfortunately we do not have experience setting up WordPress using Composer and hence we are unaware of the dependencies that are required to make Brizy work.
Kindly consider these best practices to avoid errors
- Follow a prescribed process to manage your WordPress project using composer: Eg: https://easyengine.io/tutorials/composer-wordpress/getting-started/
- Ensure you are using PHP 7.4 or higher
- In your WordPress Dashboard, ensure you do not have notifications which says "The following extensions are required for Brizy to work well" If you see this notification, kindly install the specific PHP Extension
- Kindly use a WordPress theme featured here to ensure compatibility with the theme https://www.brizy.io/theme-partners
- Ensure you are using compatible versions of Brizy and Brizy Pro. Have a look at the attached screenshot for the most recent Brizy versions.

0 -
Hi,
- I use PHP 8.2
- I do not have an error in my wordpress dashboard
- I use the plugin Brizy available in the wordpress repository and the Brizy Pro available in my account BrizyThe question is, Brizy Pro use the package monolog for check if the license is correct?
If it uses it which version is it?I have an error only when I try to activate the license.
Thank for support
0 -
Hi,
Thank you for the update.
Could you please check if the solution offered on this link will help fix the issue?
https://stackoverflow.com/questions/75696889/fatal-error-declaration-of-monolog-loggeremergencystringablestring-message
I hope this helps.
Best regards,
ariel H.0 -
Hi,
I solved the problem, brizy pro had the psr package in its vendor folder, which being an old version, conflicted with other packages.
How I solved the problem: I removed the package from brizy pro and uploaded it to my private composer repo, so I can install it and use it via composer on my sites.
I hope it can help someone else.
0
Please sign in to leave a comment.
Comments
4 comments