Error on custom.php

ho to all, everytime i insert a function on custom.php i have the followe error on save

Problems during export

The following problems were encountered during the export:

  • Page custom.php could not be exported.TypeError: Cannot read property ‘getAttr’ of null

Those parts of the theme that were not affected by these problems were exported.


thanks in advance

1 Like

Hello @vincentba

I invite you to contact directly the support.
BUT first, please thank you to follow the instructions that you will find HERE.

Same issue. My front-end is also missing now on my local site!

@vincentba @steveninety make sure that custom.php is not open in the visual editor when exporting the page.

To edit custom.php, right click on it in the Project panel and select Edit in code editor.

1 Like

@matjaz this is really important info to know. Maybe you can add it to the popup. The user has no idea why it is not exporting. - thx sg

1 Like