Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1312701

    Enfold: 4.8.4
    PHP: 7.4.22RC1
    Aparche: 2.4

    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

    Could somebody help? Thanks a lot.

    #1312708

    Hi alelixin,

    Can you try to disable CSS file merging and compression and Javascript file merging and compression in Enfold > Performance?

    Best regards,
    Nikko

    #1312716

    Hi 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.
    #1312748

    Should I downgrade the PHP version?

    #1312884

    I have the same issue for my sites

    #1313014

    Hi 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

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