-
AuthorPosts
-
July 27, 2021 at 11:29 am #1312701
Enfold: 4.8.4
PHP: 7.4.22RC1
Aparche: 2.4Fatal error: Uncaught TypeError: Argument 1 passed to aviaShortcodeTemplate::unique_css_element_id() must be of the type array, string given, called in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php on line 359 and defined in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php:445 Stack trace: #0 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php(359): aviaShortcodeTemplate->unique_css_element_id(”, ‘av_one_third’) #1 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php(374): aviaShortcodeTemplate->element_styles_defaults(Array) #2 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\columns\columns.php(994): aviaShortcodeTemplate->get_element_styles(Array) #3 D:\Apache24\htdocs\wp-content\themes\enfold\config-t in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php on line 445
Could somebody help? Thanks a lot.
July 27, 2021 at 12:04 pm #1312708Hi alelixin,
Can you try to disable CSS file merging and compression and Javascript file merging and compression in Enfold > Performance?
Best regards,
NikkoJuly 27, 2021 at 12:28 pm #1312716Hi Nikko, I just disabled the two function, but the error is the same.
Fatal error: Uncaught TypeError: Argument 1 passed to aviaShortcodeTemplate::unique_css_element_id() must be of the type array, string given, called in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php on line 359 and defined in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php:445 Stack trace: #0 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php(359): aviaShortcodeTemplate->unique_css_element_id(”, ‘av_one_third’) #1 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php(374): aviaShortcodeTemplate->element_styles_defaults(Array) #2 D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\columns\columns.php(994): aviaShortcodeTemplate->get_element_styles(Array) #3 D:\Apache24\htdocs\wp-content\themes\enfold\config-t in D:\Apache24\htdocs\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\class-shortcode-template.php on line 445
The error occured after I imported Demo!!!
- This reply was modified 3 years, 4 months ago by alelixin.
July 27, 2021 at 2:15 pm #1312748Should I downgrade the PHP version?
July 28, 2021 at 3:45 am #1312884I have the same issue for my sites
July 28, 2021 at 12:19 pm #1313014Hi alelixin,
Can you give us temporary admin access as well as FTP access? so we can inspect the issue further.
Just post the credentials in private content.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.