This topic is locked

Project Build failed - PHPRunner 11.1 build 43753

9/12/2025 3:56:34 AM
PHPRunner General questions
P
ppradhan@live.com author

I updated to the latest PHPRunner Enterprise v11.1 build: 43753, opened my existing project and tried to build the project but comes with following error. Is it only me or all of you having issue with build in the latest version?

Error occurred
Build - Building global pages
Generic
TypeError
Cannot read properties of null (reading 'fa') in /Applications/PHPRunner 11.1 Enterprise.app/Contents/Resources/templates/pd/items/button.htm on line 35


with regards
Prakash

ChatGPT 9/12/2025

Hi Prakash,

It looks like you're encountering a JavaScript error while trying to build your project in PHPRunner 11.1. The error message indicates that the code is trying to access a property of a null object, which usually suggests that there is a missing or improperly initialized variable.

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

  1. Check for Updates: Ensure that you have the latest version of PHPRunner installed. Sometimes, bugs are fixed in subsequent builds, so it’s worth checking for updates.


  2. Clear Cache: Sometimes, old cached files can cause issues. Clear any cache that might be left over from previous builds.


  3. Review Project Settings: Check your project settings and ensure that everything is configured correctly. Sometimes, specific settings or customizations can conflict with new versions.


  4. Check the button.htm File: Since the error mentions a specific line in the button.htm file, you might want to look at that line to see if there's a reference to an element or variable that could be null. If you've made any custom modifications to templates, revert those changes and see if it resolves the issue.


  5. Recreate Global Pages: If the issue persists, try recreating any global pages you may have in your project. This can sometimes resolve inconsistencies.


  6. Contact PHPRunner Support: If none of the above steps work, it may be best to reach out to PHPRunner support directly. Provide them with the error details and any steps you've already taken to troubleshoot. They may be aware of the issue and can provide a fix or workaround.


  7. Check Forums/Community: Visit the PHPRunner forums or community pages to see if other users are experiencing the same issue. Sometimes, other users may have posted solutions or workarounds.



If you still face issues after trying these steps, please provide more details about your project settings or any specific customizations you have made, and I'll be glad to help further!

Best regards,
[Your Name]

P
ppradhan@live.com author 9/12/2025

this is what the line#35 looks in the button.htm as mentioned in the above error link:
<%- @item.getClassNames() %> <%- @item.getIconClass() %>" <%- @item.getAttrs( @self() ) %> >