An error of type E_ERROR was caused in line 342

#423716
  • Resolved Rami Kharabsheh
    Rank Math pro

    please rank math team
    i need a help —
    i can not view the published pages and the website gave a critical, and this is the error details :

    ” In this case, WordPress caught an error with one of your plugins, Rank Math SEO.
    Error Details
    An error of type E_ERROR was caused in line 342 of the file /home/j19r48g72ikc/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-post-columns.php. Error message: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) ”
    ————————–
    and i increased the memory but the problem still right now –
    and when i disable rank math the problem end, and when i activate it back again
    please please help me

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please confirm if you have already increased the PHP limit to these values?

    PHP Memory Limit: 512M
    PHP time limit: 120
    

    If the issue still persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you.

    [Moved to Sensitive Data section]

    Hello,

    Thank you so much for sharing the login information for us to further check the issue.

    Before we further troubleshoot the issue, can you also increase your PHP “Max input time” to at least 250.

    Please note that Rank Math needs to process 46K pages which Rank Math may not be able to handle due to the given resources from the server.

    Let us know how that goes.

    Looking forward to helping you.

    sir thank you for the fast response

    i did :
    php_value max_execution_time 1000

    php_value max_input_time 1000


    but the issue is still right now.
    please help me. bcz i need to buy rank math pro but i have to pass this issue to insure that no conflict with my website

    and really i appreciate your expensive time but if you can hehp me and do any needed editing on my website from your end i will be thankful and for fast contact this is my whatsapp 00962799170990 .
    and please forgive me bcz i bothered you with my issu ( Thank you so much )

    Nigel
    Rank Math business

    Hello,

    I checked your site and did not encounter any errors. Please may you share which URL you get the error on and the steps you follow to reproduce the error. Include as much detail as possible. You can use a tool like imgbb.com to share screenshot links or a tool like loom.com to share a screencast.

    Looking forward to helping you.

    thank you for reply
    here is a screenshot for the issue location https://ibb.co/178tT2K
    and to view it just go to :
    dashboard > pages
    you will notice that if the rank mathe activated only one page appear but if rank math disactivated all pages will appear.

    Hello,

    Looks like your site’s memory is getting exhausted as there are more than 40k pages. I have logged this as a bug and our Development team will further work on it to improve the query. Please allow us some time to test and release a fix. For now, to fix the issue on your site I have added the following code to your theme’s functions.php file:

    
    add_filter( 'manage_page_posts_columns', function( $columns ) {
    	if ( isset( $columns['rank_math_seo_details'] ) ) {
    		unset( $columns['rank_math_seo_details'] );
    	}
    
    	return $columns;
    }, 12 );
    

    Basically, this code will remove the SEO details column and it will also prevent the site from executing the query due to which the PHP memory is getting exhausted. Please keep this code till we fix this issue in the plugin.

    In the meantime, if you need any other assistance, please feel free to let us know. We are here to help.

    Thank you.

    please any new for my website issue

    Hello,

    It seems that you have missed our developer’s reply above.

    Please follow the steps in the meantime. We will keep you posted once a fix is already available to download.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.

    Looking forward to helping you.

    Thank you.

    please using the code above will keep the current keywords and descriptions without any lost ???

    Hello,

    The filter code should only focus on unsetting the post column on your post list page. You can go ahead and use the filter.

    If you are not sure, you may wait for our future plugin update with regards to this fix.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘An error of type E_ERROR was caused in line 342’ is closed to new replies.