Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter simonjanssen

    (@simonjanssen)

    Fixed, there was a level too much in the path!

    The path should be:

    ContentEgg\application\components\BlockTemplateManager::getInstance()->enqueueProductsStyle();

    instead of:

    ContentEgg\application\components\BlockTemplateManager\BlockTemplateManager::getInstance()->enqueueProductsStyle();

    Thread Starter simonjanssen

    (@simonjanssen)

    I have tried that but the PHP error is:

    2023/03/22 15:50:30 [error] 27379#27379: *482486 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class “ContentEgg\application\components\BlockTemplateManager\BlockTemplateManager” not found in /www/webtwisters_492/public/wp-content/themes/woodmart-child/content-egg-templates/block_top_listing.php:11

    Stack trace:

    #0 /www/webtwisters_492/public/wp-content/plugins/content-egg/application/components/TemplateManager.php(122): include()

    #1 /www/webtwisters_492/public/wp-content/plugins/content-egg/application/components/BlockTemplateManager.php(79): ContentEgg\application\components\TemplateManager->render(‘custom/block_to…’, Array)

    #2 /www/webtwisters_492/public/wp-content/plugins/content-egg/application/ModuleViewer.php(342): ContentEgg\application\components\BlockTemplateManager->render(‘custom/block_to…’, Array)

    #3 /www/webtwisters_492/public/wp-content/plugins/content-egg/application/BlockShortcode.php(177): ContentEgg\application\ModuleViewer->viewBlockData(Array, 24859, Array, ”)

    #4 /www/webtwisters_492/public/wp-includes/shortcodes.php(35″ while reading upstream, client: 84.87.181.200, server: https://www.bestofclocks.com, request: “GET /nl/beste-sporthorloge-voor-heren/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-webtwisters.sock:”, host: “www.bestofclocks.com:14230”, referrer: “https://www.bestofclocks.com/nl/”

Viewing 2 replies - 1 through 2 (of 2 total)