• Resolved kureman

    (@kureman)


    Hello,

    I use Post Grid on my homepage (made with Elementor).

    The latest update of Post Grid (7.2.3) causes a critical error on my site.
    I can no longer access my site but only my dashboard. I can’t see what is causing the problem. I have tried clearing the cache but it has no effect. So unfortunately I have no choice but to disable the plugin for now.

    Am I the only one with this problem?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Mamunur Rashid

    (@mamunnu)

    Hi,

    Can you send me the error message?

    Thread Starter kureman

    (@kureman)

    Hi @mamunnu

    Sorry, I don’t have much to send you…

    All the pages on my website are blank with the WordPress following message (in French):

    “Il y a eu une erreur critique sur ce site.

    En apprendre plus sur le débogage de WordPress.

    Then, the plugin Asset CleanUp displays the following message:

    Note: The checked URL returned an error when fetching the assets via AJAX call. This could be because of a firewall that is blocking the AJAX call, a redirect loop or an error in the script that is retrieving the output which could be due to an incompatibility between the plugin and the WordPress setup you are using.

    Here is the response from the call:

    Status Code Error:500?* for more information about client and server errors,?check this link?Suggestion:Select "WP Remote Post" as a method of retrieving the assets from the "Settings" page. If that doesn't fix the issue, just use "Manage in Front-end" option which should always work and?submit a ticket?about your problem.
    
    Output:WordPress ? Erreur html { background: #f1f1f1; } body { background: #fff; border: 1px solid #ccd0d4; color: #444; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 2em auto; padding: 1em 2em; max-width: 700px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); } h1 { border-bottom: 1px solid #dadada; clear: both; color: #666; font-size: 24px; margin: 30px 0 0 0; padding: 0; padding-bottom: 7px; } #error-page { margin-top: 50px; } #error-page p, #error-page .wp-die-message { font-size: 14px; line-height: 1.5; margin: 25px 0 20px; } #error-page code { font-family: Consolas, Monaco, monospace; } ul li { margin-bottom: 10px; font-size: 14px ; } a { color: #0073aa; } a:hover, a:active { color: #006799; } a:focus { color: #124964; -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); outline: none; } .button { background: #f3f5f6; border: 1px solid #016087; color: #016087; display: inline-block; text-decoration: none; font-size: 13px; line-height: 2; height: 28px; margin: 0; padding: 0 10px 1px; cursor: pointer; -webkit-border-radius: 3px; -webkit-appearance: none; border-radius: 3px; white-space: nowrap; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; vertical-align: top; } .button.button-large { line-height: 2.30769231; min-height: 32px; padding: 0 12px; } .button:hover, .button:focus { background: #f1f1f1; } .button:focus { background: #f3f5f6; border-color: #007cba; -webkit-box-shadow: 0 0 0 1px #007cba; box-shadow: 0 0 0 1px #007cba; color: #016087; outline: 2px solid transparent; outline-offset: 0; } .button:active { background: #f3f5f6; border-color: #7e8993; -webkit-box-shadow: none; box-shadow: none; } Il y a eu une erreur critique sur ce site.En apprendre plus sur le débogage de WordPress.
    Glenn

    (@glenn735-admin)

    here is the error…

    [25-May-2023 18:24:16 UTC] PHP Fatal error: Uncaught Error: Undefined constant "RT\ThePostGrid\Controllers\RT_THE_POST_GRID_PRO_PLUGIN_PATH" in /home//public_html/wp-content/plugins/the-post-grid/app/Controllers/ElementorController.php:239
    Stack trace:
    
    0 /home//public_html/wp-includes/class-wp-hook.php(308): RT\ThePostGrid\Controllers\ElementorController->init_widgets()
    
    1 /home//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    2 /home//public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    3 /home//public_html/wp-content/plugins/elementor/includes/managers/widgets.php(122): do_action()
    
    4 /home//public_html/wp-content/plugins/elementor/includes/managers/widgets.php(308): Elementor\Widgets_Manager->init_widgets()
    
    5 /home//public_html/wp-content/plugins/elementor/includes/elements/column.php(1071): Elementor\Widgets_Manager->get_widget_types()
    
    6 /home//public_html/wp-content/plugins/elementor/includes/base/element-base.php(1414): Elementor\Element_Column->_get_default_child_type()
    
    7 /home//public_html/wp-content/plugins/elementor/includes/base/element-base.php(340): Elementor\Element_Base->get_child_type()
    
    8 /home//public_html/wp-content/plugins/elementor/includes/base/element-base.php(1459): Elementor\Element_Base->add_child()
    
    9 /home//public_html/wp-content/plugins/elementor/includes/base/element-base.php(300): Elementor\Element_Base->init_children()
    
    10 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(225): Elementor\Element_Base->get_children()
    
    11 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
    
    12 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles()
    
    13 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
    
    14 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\Files\CSS\Post->render_styles()
    
    15 /home//public_html/wp-content/plugins/elementor/core/files/css/base.php(659): Elementor\Core\Files\CSS\Post->render_css()
    
    16 /home//public_html/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content()
    
    17 /home//public_html/wp-content/plugins/elementor/core/files/css/base.php(130): Elementor\Core\Files\Base->update_file()
    
    18 /home//public_html/wp-content/plugins/elementor/core/files/css/base.php(217): Elementor\Core\Files\CSS\Base->update()
    
    19 /home//public_html/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()
    
    20 /home//public_html/wp-content/plugins/elementor/includes/frontend.php(676): Elementor\Core\Files\CSS\Post->enqueue()
    
    21 /home//public_html/wp-content/plugins/royal-elementor-addons/admin/includes/wpr-render-templates.php(201): Elementor\Frontend->enqueue_styles()
    
    22 /home//public_html/wp-includes/class-wp-hook.php(308): WprAddons\Admin\Includes\WPR_Render_Templates->enqueue_scripts()
    
    23 /home//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    24 /home//public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    25 /home//public_html/wp-includes/script-loader.php(2194): do_action()
    
    26 /home//public_html/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
    
    27 /home//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    28 /home//public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    29 /home//public_html/wp-includes/general-template.php(3049): do_action()
    
    30 /home//public_html/wp-content/themes/astra/header.php(31): wp_head()
    
    31 /home//public_html/wp-includes/template.php(783): require_once('/home/vs6u25fca…')
    
    32 /home//public_html/wp-includes/template.php(718): load_template()
    
    33 /home//public_html/wp-includes/general-template.php(48): locate_template()
    
    34 /home//public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header()
    
    35 /home//public_html/wp-includes/template-loader.php(106): include('/home/vs6u25fca…')
    
    36 /home//public_html/wp-blog-header.php(19): require_once('/home/vs6u25fca…')
    
    37 /home//public_html/index.php(17): require('/home/vs6u25fca…')
    
    38 {main}
    
    thrown in /home//public_html/wp-content/plugins/the-post-grid/app/Controllers/ElementorController.php on line 239

    Plugin Support Habib

    (@habibjh)

    Hi @kureman

    Extremely sorry for the bug. It has been fixed and we have released a new version of the post grid plugin. Can you please update the plugin again?

    Thread Starter kureman

    (@kureman)

    Hi @habibjh ,
    There are no more issues with this new version, thank you for your quick fix!

    @glenn735-admin
    Thank you for finding the error. Could you please explain how you found this log?

    Glenn

    (@glenn735-admin)

    Hi,

    Thanks for fixing the plugin. Here is how I saw the error…

    Enabling DEBUG mode

    1. Log into your server via SSH or FTP.
    2. Edit the wp-config.php file using SSH or your FTP client.
    3. Near the bottom of the file you’ll see the following:define(‘WP_DEBUG’, false);Adjust that line to these three lines:define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); define( ‘WP_DEBUG_LOG’, true );It’s not recommended to change WP_DEBUG_DISPLAY to true. This is because any errors will then display on your live website. By enabling WP_DEBUG_LOG, you can view the same errors in your /wp-content/debug.log file.
    4. When an error is thrown in WordPress, it will write to a file titled debug.log. This file is located in your /wp-content/ directory. Open this file using SSH or your FTP client to view the debug report.
    Glenn

    (@glenn735-admin)

    7.2.4 works correctly now, thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error after 7.2.3’ is closed to new replies.