ci-secure-api
ci-secure-api copied to clipboard
IncomingRequest instance exception
Hi I have this exception in Auth.php file Argument 1 passed to App\Controllers\BaseController::getRequestInput() must be an instance of App\Controllers\IncomingRequest, instance of CodeIgniter\HTTP\IncomingRequest given
whene calling this $input = $this->getRequestInput($myRequest);
There is a problem showing the code on Twilio website at the line when create the Profile.js. Above this line: In the react/src/components/restricted/user folder, create a file named Profile.js and add the following:
import React, {useState} from 'react'; import { loadUser } from '../../../utility/LocalStorage'; import { Card, CardBody, CardImg, CardText, CardTitle } from 'reactstrap'; import { formatDate } from '../../../utility/Formatter';
const UserProfile = () => { const user = loadUser(); return ( {user.name} {user.email} Account created on {formatDate(user.created_at)} ); }; export default UserProfile; But its getting error... please do the needful