Title: Error 503 &#8211; Debug message &#8220;Optional parameter $post_types declared
Last modified: June 28, 2025

---

# Error 503 – Debug message “Optional parameter $post_types declared

 *  Resolved [alank2](https://wordpress.org/support/users/alank2/)
 * (@alank2)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/)
 * Hi, I am unable to update the table after recent upgrades to version 6.1.20. 
   I keep getting server 500 error message. When I use the debug function, I get
   this message.
 * “Optional parameter $post_types declared before required parameter $location 
   is implicitly treated as a required parameter”.
 * How do I resolve this?

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

 *  [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/#post-18532417)
 * Hello [alank2](https://wordpress.org/support/users/alank2/),
   Greetings. Hope 
   you are doing well.Thanks for reaching out to us. We have checked on our end 
   with the **Essential Addons for Elementor** plugin _**version 6.1.20**_ but didn’t
   find such error on our end.
 * To assist you further, please provide us with the details of the error you are
   experiencing. Additionally, please provide us with the full debug log and reproducing
   steps so that we can thoroughly investigate the issue and provide appropriate
   support.
 * We look forward to hearing from you soon.
   Thank you.
 *  Thread Starter [alank2](https://wordpress.org/support/users/alank2/)
 * (@alank2)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/#post-18532695)
 * Hi Amit, thank you for investigating. I’m not good with tech. The debug log that
   was captured was when it popped up. But it does not seem to be able to be reproduced
   everytime.
 * The main problem is that I cannot seem to publish any updates on edits on my 
   table. I’ve made a video of this problem. Please find it here [https://youtu.be/jzjbeUdMZnQ](https://youtu.be/jzjbeUdMZnQ)
 * Please let me know if you need further information.
 * Thank you for assisting.
 *  [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/#post-18533791)
 * Hello [alank2](https://wordpress.org/support/users/alank2/),
 * Thanks for getting back to us and for sharing the details. I have tested this
   on my end. I found that the **Data Table** is editable properly and, the changes
   are reflected on the front-end. Please check this screencast from my end: [https://d.pr/v/sQcMH0](https://d.pr/v/sQcMH0)
   
   Please make sure that you are are using latest version of **Essential Addons 
   for Elementor** and, **Elementor** plugins, then check once again. If the issue
   still persists, then this issue arises when the server encounters an unexpected
   condition and is unable to fulfill the request.
 * There can be multiple reasons behind it. The best initial step is to request 
   the PHP error logs from your hosting provider, as they will indicate the exact
   cause.
 * **Common Causes and Solutions:**
 * **1. Problematic Sections in the Page**
 * Consider removing certain sections from the page you are editing and check if
   it allows you to save it. You can restore removed sections using Elementor’s 
   revision history.
 * **2. Memory Limit Reached**
    - Adjust your website’s memory limit to meet Elementor’s system requirements.
      You need to increase your website’s memory to **512 MB** to help avoid loading
      issues.
    - Activate WordPress debug mode to determine the required memory amount.
    - You can also reduce the number of post revisions using plugins such as WP 
      Sweep. [Learn how to use it here](https://www.youtube.com/watch?v=xt4U4e8NSIQ).
    - If the issue persists, attempt to divide your page into smaller templates.
 * **3. Server Configuration Issues**
    - At times, HTTP/HTTPS conflicts lead to this error. Ensure that your site has
      a valid SSL certificate.
    - After adding SSL, navigate to **Elementor > Tools > Replace URL** to update
      the site links.
 * **4. “Publish/Update” Button Not Working**
    - **Security Plugins:** Certain plugins like WordFence might block update actions.
      Consider enabling “learning mode” or contacting their support.
    - **Server Firewall:** Your server’s firewall might also block requests. Reach
      out to your hosting provider for assistance.
 * I hope this will resolve your issue. Please let us know the update after checking
   on your end.
   Thank you.
 *  [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * (@amitbarai013)
 * [11 months ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/#post-18544079)
 * Hi [alank2](https://wordpress.org/support/users/alank2/),
   I hope you’re doing
   well and staying safe.
 * I wanted to follow up as I haven’t heard back from you regarding the issue we
   discussed earlier. Could you kindly let me know if your issue has been resolved,
   or if you’re still experiencing any difficulties?
   We eagerly await your response.
   Thank you.

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

The topic ‘Error 503 – Debug message “Optional parameter $post_types declared’ is
closed to new replies.

 * ![](https://ps.w.org/essential-addons-for-elementor-lite/assets/icon-256x256.
   gif?rev=3182943)
 * [Essential Addons for Elementor - Popular Elementor Templates & Widgets](https://wordpress.org/plugins/essential-addons-for-elementor-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-addons-for-elementor-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/reviews/)

## Tags

 * [data table](https://wordpress.org/support/topic-tag/data-table/)

 * 4 replies
 * 2 participants
 * Last reply from: [Amit Barai Alit](https://wordpress.org/support/users/amitbarai013/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/error-503-debug-message-optional-parameter-post_types-declared/#post-18544079)
 * Status: resolved