This topic is locked

Cannot reply to messages anymore on a helpdesk site.

6/28/2025 8:25:09 AM
PHPRunner General questions
Y
YODsystem author

I am using the HelpDesk template for my own project.
I can no longer see what actions I have taken because I am unable to reply to messages anymore.
I am looking for the cause of the problem, but I can't figure out what is wrong.

Is there anyone who can give me tips or, even better, a solution?

The problem:

*Fatal error: Uncaught Error: Call to undefined method AddPage::removeHiddenColumnsFromInlineFields() in /data/sites/web/ ... /subsites/ ... /classes/addpage.php:1357
Stack trace:

0 /data/sites/web/ ... /subsites/ ... /classes/addpage.php(380): AddPage->prepareEditControls()

1 /data/sites/web/ ... /subsites/ ... /hdmessagesadd.php(105): AddPage->process()

2 {main} thrown in /data/sites/web/ ... /subsites/ ... /classes/addpage.php on line 1357*

ChatGPT 6/28/2025

It looks like you're encountering a fatal error in your PHPRunner application related to the AddPage class. The specific error message indicates that the method removeHiddenColumnsFromInlineFields() is not defined, which is causing the script to fail.

Here are some steps you can take to troubleshoot and potentially resolve the issue:

  1. Check for Updates: Ensure that you are using the latest version of PHPRunner. Sometimes, bugs or issues are fixed in newer releases, so updating could resolve your problem.


  2. Review Custom Code: If you've added any custom code to your project, double-check it to ensure that it is not interfering with the default functionality of the PHPRunner application. Specifically, look for any modifications in the AddPage class or related files.


  3. Look at Recent Changes: If the issue started occurring after recent changes, try to identify what those changes were. Reverting those changes may help to identify the cause of the problem.


  4. Check for Missing Files: Ensure that all necessary files are present in your project. Sometimes, files can be accidentally deleted or not uploaded. Missing files could lead to undefined methods or classes.


  5. Debugging: You can add some debugging code to see if the method exists before it is called. For example, you could use method_exists() to check if removeHiddenColumnsFromInlineFields() is available in the AddPage class.

     if (!method_exists($this, 'removeHiddenColumnsFromInlineFields')) {
    // Handle the error, e.g., log it or display a message
    error_log('Method removeHiddenColumnsFromInlineFields does not exist in AddPage class.');
    }

  6. Consult Documentation: Refer to the PHPRunner documentation or user forums for any known issues related to the HelpDesk template or the AddPage class. There might be specific guidance or fixes available.


  7. Contact Support: If you are unable to resolve the issue, consider reaching out to PHPRunner support. They may have specific insights into the error you are experiencing, especially if it is a known issue.


  8. Community Forums: Check community forums and user groups for PHPRunner. Other users may have encountered the same issue and could offer solutions or workarounds.



By following these steps, you should be able to diagnose the cause of the error and work toward a solution. If you provide more details about any specific changes you made or the context in which the error occurs, I can try to provide more tailored advice.

Sergey Kornilov admin 6/28/2025

I think you need to contact support directly with this, there is not enough info here to provide a meaningful advice.