hai1533
I installed proBlog, and everything works except when I visit an individual blog post. I get an error of "Class 'Auth' not found" in this file "/Users/user/Work/test/october_project/october/plugins/radiantweb/problog/components/Post.php line 53".
Any help greatly appreciated. Thanks!
Matt Weaver
Well, looks like this has something to do with October not using Auth anymore, and ProBlog thinking that it does. Or something. The quick fix I did:
create a class in app/src/App.php:
<?php
class Auth {
public static function check()
{
return false;
}
}
Then in composer.json, in the autoloads section add your file so the class is loaded.
"autoload": {
"classmap": [
"tests/TestCase.php",
"app/src/Auth.php"
]
},
and run composer dump-autoload
. Now, Problog can run "Auth::check()" and your dummy auth class will return false every time, and it'll work. It's a hack, but whatever.
1-6 of 6