The controller class Genesis\Settings\Http\Api\ActivityCategoryController is not invokable. Did you forget to add the __invoke method or is the controller's method missing in your routes file? code example
Example: is not invokable.
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function __invoke(Request $request)
{
return "Welcome to our homepage"
}
}