Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Habib

    (@habibjh)

    Can you please replate the line number 310 with the below code?

    $first_img = $matches[1][0] ?? '';

    It should prevent the error. If it doesn’t work please let me know.

    Thread Starter anzesever

    (@anzesever)

    @habibjh

    Okay so I’m not getting any errors now in the error log but I still have problems after clicking “Customize my theme”. It says “This block encountered problems” and after reloading the page it just keeps loading and nothing happens. Here’s a picture: https://imgur.com/t3FQbSP. If I delete the plugin I can use the “Customize my theme” just fine. It seems there’s a problem with loading the plugin when I’m trying to customize my appearance.

    • This reply was modified 1 year, 1 month ago by anzesever.
    Thread Starter anzesever

    (@anzesever)

    Here’s the error I keep getting: https://imgur.com/QLfdscn. If I translate it: “This block encountered a problem, that’s why It’s not possible to see a preview”.

    Plugin Support Habib

    (@habibjh)

    We need the debug log file to know why the error happens. Can you generate the debug.log file for your system? Please add the below code to the ‘wp-config.php’ file to generate the debug.log file.

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    After doing this you will get the debug.log file in the wp-content folder.

    Otherwise, it’s very hard to say why you are encountering this issue. If you can’t do the above thing you can make a ticket to RadiusTheme support for instant help.

    Is the above reply ok ?

    Thanks

    Thread Starter anzesever

    (@anzesever)

    @habibjh

    I tried to create the debug log file but it doesn’t seem to work. I changed the WP_debug to true but it doesn’t create any debug file.

    Plugin Support Habib

    (@habibjh)

    It seems that the issue might be related to a server-side problem, which makes it challenging to determine the exact cause without thorough debugging. However, I would like to share an alternative solution for you. Could you please replace the relevant line (https://imgur.com/DVMWc2V) with the following code:
    $first_img = ! empty( $matches[1][0] ) ? $matches[1][0] : '';

    If you still encounter the issue after trying the suggested solution, I recommend creating a support ticket with RadiusTheme for immediate assistance.

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

The topic ‘Error with The Post Grid’ is closed to new replies.