I'm using sonata export bundle in my project and tired of this error.
[1] Symfony\Component\Debug\Exception\ContextErrorException: Warning:
fopen(data.json): failed to open stream: Permission denied
at n/a
in
/var/www/html/nagarik/vendor/sonata-project/exporter/src/Writer/JsonWriter.php
line 68
at Symfony\Component\Debug\ErrorHandler->handleError('2',
'fopen(data.json): failed to open stream: Permission denied',
'/var/www/html/nagarik/vendor/sonata-project/exporter/src/Writer/JsonWriter.php',
'68', array())
in line
at fopen('data.json', 'w', false)
in
/var/www/html/nagarik/vendor/sonata-project/exporter/src/Writer/JsonWriter.php
line 68
at Exporter\Writer\JsonWriter->open()
in /var/www/html/nagarik/vendor/sonata-project/exporter/src/Handler.php
line 41
--
You received this message because you are subscribed to the Google Groups
"sonata-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sonata-users.
For more options, visit https://groups.google.com/d/optout.