Fatal PHP error
Hi,
I seem to be getting fatal PHP errors because of Brizy, here is the debug content, can you help?
21-Jun-2023 20:08:34 UTC] PHP Warning Undefined array key "cW" in /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy-pro/content/placeholders/image.php on line 51
[21-Jun-2023 20:08:34 UTC] PHP Warning Undefined array key "cH" in /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy-pro/content/placeholders/image.php on line 52
[21-Jun-2023 20:08:34 UTC] PHP Fatal error Uncaught DivisionByZeroError: Division by zero in /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy-pro/content/placeholders/image.php:95
Stack trace:
#0 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy-pro/content/placeholders/image.php(54): BrizyPro_Content_Placeholders_Image->calculateImageOffsetByFocalPoint(2560, 1714, 0, 0, 50, 50)
#1 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/vendor/bagrinsergiu/content-placeholder/lib/Replacer.php(66): BrizyPro_Content_Placeholders_Image->getValue(Object(Brizy_Content_Context), Object(BrizyPlaceholders\ContentPlaceholder))
#2 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/content/dynamic-content-processor.php(25): BrizyPlaceholders\Replacer->replaceWithExtractedData(Array, Array, '\n
#3 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/content/main-processor.php(43): Brizy_Content_DynamicContentProcessor->process('\n
#4 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/editor.php(364): Brizy_Content_MainProcessor->process('\n
#5 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/class-wp-hook.php(310): Brizy_Editor->brizy_content('\n
#6 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters('\n
#7 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/admin/templates.php(526): apply_filters('brizy_content', '\n
#8 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/admin/templates.php(550): Brizy_Admin_Templates->getTemplateContent()
#9 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/class-wp-hook.php(308): Brizy_Admin_Templates->filterPageContent('
\r\n \t
\xC2\xA0A...')
#10 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters('
\r\n \t
\xC2\xA0A...', Array)
#11 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/post-template.php(255): apply_filters('the_content', '
\r\n \t
\xC2\xA0A...')
#12 /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy/public/views/templates/brizy-blank-template.php(37): the_content()
#13 /customers/e/5/0/#company#.dk/httpd.www/wp-includes/template-loader.php(106): include('/customers/e/5/...')
#14 /customers/e/5/0/#company#.dk/httpd.www/wp-blog-header.php(19): require_once('/customers/e/5/...')
#15 /customers/e/5/0/#company#.dk/httpd.www/index.php(17): require('/customers/e/5/...')
#16 {main}
thrown in /customers/e/5/0/#company#.dk/httpd.www/wp-content/plugins/brizy-pro/content/placeholders/image.php on line 95
[21-Jun-2023 20:08:38 UTC] PHP Warning Undefined array key "path" in /customers/e/5/0/#company#.dk/httpd.www/wp-includes/canonical.php on line 592
[21-Jun-2023 20:08:38 UTC] PHP Warning Undefined array key "path" in /customers/e/5/0/#company#.dk/httpd.www/wp-includes/canonical.php on line 592
[21-Jun-2023 20:08:38 UTC] PHP Warning Undefined array key "path" in /customers/e/5/0/#company#.dk/httpd.www/wp-includes/canonical.php on line 701
-
Hi,
Thank you for contacting us.
Please try the following steps and see if this will help:
1. Deactivating one plugin at a time and checking if the problem resolves.
2. Temporarily switch to another theme and check if the issue goes away.
3. Please also check that you already have PHP v8 (or higher) on your server
4. Also ensure that you are using the most recent versions of Brizy and Brizy Pro - https://prnt.sc/3A7V3O1FdwkO
If all the above didn't help, please provide us temporary access to your WP Admin credentials, so we can further check the issue. Add us as a user to your WordPress Dashboard and send the following details to: communitysupport@brizy.ioCommunity Post link: https://support.brizy.io/hc/en-us/community/posts/16369112121361
WordPress Admin URL:
Username:
Password:Please make a full backup of your website as a precaution.
I am looking forward to your response.
Best regards,
Ariel H.0 -
Hi Jesper,
Thank you for your cooperation.
Unfortunately, I am unable to reproduce the issue as described.
To better assist you, could you kindly provide us with more detailed information about the steps you took before encountering the error?I am looking forward to your response.
Best regards,
Ariel H.0
Please sign in to leave a comment.
Comments
2 comments