Skip to content
Discussion options

You must be logged in to vote

Thanks for the reply.
Can you confirm that your routes/backpack/custom.php ends with: '}); // this should be the absolute last line of this file' or }); ?

Can you also confirm that maybe when the file was saved, some IDEs automatically add an empty line at the end of the file. That can also cause that script to fail.

Let me know.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@alancwoo
Comment options

Comment options

You must be logged in to vote
6 replies
@alancwoo
Comment options

@pxpm
Comment options

pxpm May 24, 2023
Maintainer

Answer selected by alancwoo
@alancwoo
Comment options

@pxpm
Comment options

pxpm May 24, 2023
Maintainer

@alancwoo
Comment options

@pxpm
Comment options

pxpm May 24, 2023
Maintainer

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants