Ryan Ye

Results 3 comments of Ryan Ye

This may be old, but I have recently run into the same problem. Here is what I did. Before `$role->attachPermission($permission);` After ``` if (!$role->perms()->get()->contains('id', $permission->id)) { $role->attachPermission($permission); } ``` Hope...

This is what I did in my app. Logout function makes use of window.sessionStorage. So, I did the simple call just before logout. ``` window.sessionStorage['fbtoken'] = 'TOKEN_STORED_IN_YOUR_APP'; openFB.logout( function() {...

Try removing this line at line 4 in /var/www/mage203/app/code/Sample/News/Controller/Author/Rss.php: `use Magento\Rss\Controller\Feed\Index;` Then replace the following: `class Rss extends Index` with `class Rss extends \Magento\Rss\Controller\Feed\Index`