Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After install: BadMethodCallException Method translations does not exist. #14

Open
floatnz opened this issue Apr 16, 2020 · 7 comments
Open
Assignees
Labels
bug Something isn't working pinned

Comments

@floatnz
Copy link

floatnz commented Apr 16, 2020

After install
composer require devpartners/auditable-log

BadMethodCallException Method translations does not exist:
Screenshot from 2020-04-16 21-41-08

Tried clearing caches with no change:

php artisan cache:clear
php artisan config:clear
php artisan view:clear

composer.json:

    "require": {
        "php": "^7.1.3",
        "barryvdh/laravel-dompdf": "^0.8.5",
        "bugsnag/bugsnag-laravel": "^2.0",
        "calcinai/xero-php": "^1.8",
        "devpartners/auditable-log": "^1.0",
        "fideloper/proxy": "^4.0",
        "florianv/laravel-swap": "^2.1",
        "guzzlehttp/guzzle": "^6.4",
        "laravel/framework": "5.8.*",
        "laravel/nova": "*",
        "laravel/tinker": "^1.0",
        "maatwebsite/laravel-nova-excel": "^1.1",
        "nyholm/psr7": "^1.2",
        "owen-it/laravel-auditing": "^10.0",
        "php-http/curl-client": "^2.1",
        "php-http/message": "^1.8",
        "phpclassic/php-shopify": "^1.1",
        "phpmailer/phpmailer": "^6.1",
        "symfony/translation": "4.3.8",
        "ums/admin": "*",
        "ums/backlog": "*",
        "ums/docs": "*",
        "ums/supplier": "*",
        "unified/ums": "*"
    },
@recycledbeans
Copy link
Member

Hey @floatnz what version of Laravel Nova do you have installed?

@stale
Copy link

stale bot commented May 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 17, 2020
@man-dwarf
Copy link

Hey, I'm experiencing the same issue.
I'm running laravel/nova:dev-master

@stale stale bot removed the wontfix This will not be worked on label May 20, 2020
@recycledbeans
Copy link
Member

Hey @man-dwarf, thanks for reporting. Are you using Laravel 5.8 as well?

@man-dwarf
Copy link

man-dwarf commented May 20, 2020

Version: 5.8.36

When I remove this section from vendor/devpartners/auditable-log/src/ToolServiceProvider.php the error disappears.

             Nova::translations([
                'Audit Log'      => __('Audit Log'),
                'User'           => __('User'),
                'Event'          => __('Event'),
                'Date/Time'      => __('Date/Time'),
                'Old Values'     => __('Old Values'),
                'New Values'     => __('New Values'),
                'console'        => __('console'),
                'Previous'       => __('Previous'),
                'Next'           => __('Next'),
                'View Audit Log' => __('View Audit Log'),
                'Restore audit'  => __('Restore audit'),
                'Field'          => __('Field'),
                'Current'        => __('Current'),
                'Restore to'     => __('Restore to'),
                'No changes'     => __('No changes'),
                'Cancel'         => __('Cancel'),
                'Restore'        => __('Restore'),
            ]);

@recycledbeans
Copy link
Member

Okay, thank you. This information is very helpful.

@recycledbeans recycledbeans self-assigned this May 20, 2020
@recycledbeans recycledbeans added the bug Something isn't working label May 20, 2020
@stale
Copy link

stale bot commented Jun 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 19, 2020
@recycledbeans recycledbeans added pinned and removed wontfix This will not be worked on labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

3 participants