• Resolved arunlalds

    (@arunlalds)


    2024/01/02 13:19:20 [error] 5212#5212: *955 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /www/educareerindiacom_500/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php:561

    Stack trace:

    #0 /www/educareerindiacom_500/public/wp-content/plugins/depicter/app/src/Document/Models/Document.php(161): Depicter\Document\Models\Document->reorderSections()

    #1 /www/educareerindiacom_500/public/wp-content/plugins/depicter/app/src/Document/Manager.php(181): Depicter\Document\Models\Document->prepare()

    #2 /www/educareerindiacom_500/public/wp-content/plugins/depicter/app/src/WordPress/ShortcodesServiceProvider.php(89): Depicter\Document\Manager->cacheCustomStyles(’58’)

    #3 /www/educareerindiacom_500/public/wp-includes/class-wp-hook.php(324): Depicter\WordPress\ShortcodesServiceProvider->loadShortcodeAssets(”)

    #4 /www/educareerindiacom_500/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #5 /www/educareerindiacom_500/public/wp-includes/plugin.php(517): WP_Hook->” while reading response header from upstream, client: 79.101.53.2, server: https://www.educareerindia.com, request: “GET /?nocache HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-educareerindiacom.sock:”, host: “www.educareerindia.com:15195”

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter arunlalds

    (@arunlalds)

    Regretfully nothing helped. I have tried using previous versions of the plugin but it still throw the same error. I have tried lowering down PHP version from 8.1 to 8.0, but that also did not help ??

    Plugin Author averta

    (@averta)

    @arunlalds

    Hi. Based on the information available, it appears that the “Opcode caching” feature on your server may be causing the issue. Allow me to provide you with some more details and a solution. The Zend Opcache provides faster PHP execution through opcode caching and optimization. Opcode caching improves performance by storing precompiled script byte-code in shared memory, thereby removing the need for PHP to load and parse scripts on each request. The ‘opcache.save_comments’ directive determines whether documentation comments should be loaded and saved from the opcode cache. It defaults to “1” which means the option is enabled. If set to “0”, any comments in your PHP code are discarded from the opcode cache to reduce memory consumption. This causes issues if a plugin has annotations in doc-comments, as they are parsed and used by some frameworks or libraries. So, the ‘opcache.save_comments’ parameter should be set to “1” because the Depicter uses PHPDoc annotations that are removed when “opcache.save_comments” is disabled, which renders the plugin unable to function properly. We appreciate your valuable feedback. Our team will take it into consideration for future updates and improvements. Thank you for your time and effort.

    Plugin Author averta

    (@averta)

    Hi there,
    2 months and no reply so we mark this ticket as a resolved one.
    If still have an issue please open a new ticket

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘depicter Crashing whole the site’ is closed to new replies.