This topic is locked

Error generating window.controlsMap

11/1/2019 6:54:39 PM
PHPRunner General questions
J
jrlozano author

When generating add and list page of one of my tables i get this code:
add

<script>

window.controlsMap = ;

window.viewControlsMap = {"recetas":{"add":{"1":[]}}};

window.settings = .......

</script>
list

window.controlsMap = ;

window.viewControlsMap = {"recetas":{"list":{"1":{"mViewControlsMap":[]}}}};
In both cases it crashes the page with "Uncaught SyntaxError: Unexpected token ';'" when I debug the page with Chrome developers tools.

This code is generated by phprunner, not included as an event by me.
Any idea what could be the reason?
Thanks in advance!

Sergey Kornilov admin 11/4/2019

As a first step make sure you use the latest version and build of PHPRunner. If this doesn't help - you need to post your project to Demo Account and contact support directly.