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

Class "Litecms\Contact\Http\Controllers\ResourceController" not found #355

Open
jechaviz opened this issue Jul 17, 2021 · 2 comments
Open

Comments

@jechaviz
Copy link

No description provided.

@Ikechukwu-Ezugworie
Copy link

having the same problem after clicking the about link on the home page

@jaizjacob
Copy link

Hi If you change ResourceController to basecontroller it will work.

Edit the following files like below :

Contactpubliccontroller.php

namespace Litecms\Contact\Http\Controllers;

use App\Http\Controllers\PublicController as BaseController;
use Illuminate\Http\Request as Request;
use Litecms\Contact\Interfaces\ContactRepositoryInterface;
use Illuminate\Support\Facades\Crypt;
use App\User;
use Mail;
use DB;
use Carbon\Carbon;

class ContactPublicController extends BaseController
{
......

  1. ContactResourceController.php

namespace Litecms\Contact\Http\Controllers;

use Litepie\Http\Controllers\ResourceController as BaseController;
use Litecms\Contact\Http\Requests\ContactRequest;
use Litecms\Contact\Interfaces\ContactRepositoryInterface;
use Litecms\Contact\Models\Contact;

/**

  • Resource controller class for contact.
    */
    class ContactResourceController extends BaseController
    {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jechaviz @Ikechukwu-Ezugworie @jaizjacob and others