Giter Club home page Giter Club logo

module-community's Introduction

Magefan Community Extension by Magefan

Total Downloads Latest Stable Version

This module is required for other Magefan extensions for Magento 2

Requirements

  • Magento Community Edition 2.1.x-2.4.x or Magento Enterprise Edition 2.1.x-2.4.x

Installation Method 1 - Installing via composer

  • Open command line
  • Using command "cd" navigate to your magento2 root directory
  • Run the commands:
composer require magefan/module-community
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Installation Method 2 - Installing via FTP using archive

  • Download ZIP Archive
  • Extract files
  • In your Magento 2 root directory create folder app/code/Magefan/Community
  • Copy files and folders from archive to that folder
  • In command line, using "cd", navigate to your Magento 2 root directory
  • Run the commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Support

If you have any issues, please contact us then if you still need help, open a bug report in GitHub's issue tracker.

License

The code is licensed under EULA.

Magento 2 Point of Sale

Magento 2 Theme

module-community's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

module-community's Issues

Case Sensitivity Problem with "view" Directory

Description

I am experiencing an issue with a Magento 2 module where the directory name "view" needs to be capitalized as "View". Failing to do so results in the following error:

Error: Class "Magefan\Community\View\Helper\SecureHtmlRenderer" not found in /var/www/source/scootfast-magento/generated/code/Magefan/Community/View/Helper/SecureHtmlRenderer/Proxy.php:7

Steps to Reproduce

Use the module with the directory named "view".
Attempt to load a page or functionality that utilizes the module.

Expected Result

The module should function correctly without case sensitivity issues.

Actual Result
An error is generated indicating that the class "Magefan\Community\View\Helper\SecureHtmlRenderer" cannot be found.

Additional Information

Magento 2 version: 2.4.6-p5
Module version: 2.6.2
Renaming the "view" directory to "View" resolves the issue. This appears to be a case sensitivity problem that may affect other environments as well.

Proposed Solution

Please update the module to ensure the directory is correctly named "View" to avoid case sensitivity issues.

Thank you for your attention to this matter.

Error: Cannot instantiate interface Magefan\Community\Api\GetModuleVersionInterface - After Magento Upgrade

Hi,

The theme we are using has your Magefan_Community module bundled with it and we are in the process of upgrading our Magento instance of version 2.4.6-p2 running with PHP 8.2.13 , it is a AWS Bitnami instance.

Following the attempted upgrade, following errors are shown in admin after logging in. So far we didnt notice any issue with frontend. Could you please guide me to resolve this issue. Would upgrading Magefan_Community module resolve it ? is it some issue other than a version incompatibility. As per the module's composer.json its version is 2.1.12

Error: Cannot instantiate interface Magefan\Community\Api\GetModuleVersionInterface in /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 Stack trace: #0 /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #1 /bitnami/magento/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #2 /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(170): Magento\Framework\ObjectManager\ObjectManager->get() #3 /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() #4 /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument() #5 /bitnami/magento/vendor/magento/framework/ObjectManager/Factory/Compiled.php(101): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() #6 /bitnami/magento/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create() #7 /bitnami/magento/generated/code/Magefan/Community/Model/AdminNotificationFeedFactory.php(43): Magento\Framework\ObjectManager\ObjectManager->create() #8 /bitnami/magento/app/code/Magefan/Community/Observer/PredispathAdminActionControllerObserver.php(48): Magefan\Community\Model\AdminNotificationFeedFactory->create() #9 /bitnami/magento/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Magefan\Community\Observer\PredispathAdminActionControllerObserver->execute() #10 /bitnami/magento/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() #11 /bitnami/magento/vendor/magento/framework/Event/Manager.php(65): Magento\Framework\Event\Invoker\InvokerDefault->dispatch() #12 /bitnami/magento/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch() #13 /bitnami/magento/vendor/magento/framework/App/FrontController.php(271): Magento\Framework\Event\Manager\Proxy->dispatch() #14 /bitnami/magento/vendor/magento/framework/App/FrontController.php(211): Magento\Framework\App\FrontController->dispatchPreDispatchEvents() #15 /bitnami/magento/vendor/magento/framework/App/FrontController.php(146): Magento\Framework\App\FrontController->processRequest() #16 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #17 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #18 /bitnami/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #19 /bitnami/magento/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #20 /bitnami/magento/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #21 /bitnami/magento/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch() #22 /bitnami/magento/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #23 {main}

Thanking you

Indunil

Error after saving a post

After creating a post and saving it, we receive the following error message:

Something went wrong while saving this post. Notice: Undefined index: file in /var/www/htdocs/vendor/magefan/module-blog/Controller/Adminhtml/Post/Save.php on line 99
Warning: explode() expects parameter 2 to be string, array given in /var/www/htdocs/vendor/magefan/module-blog/Model/Post.php on line 390

Magento: 2.3.0
magefan/module-community: 2.0.4
magefan/module-blog: 2.8.8

Any idea why?

Greetings Chris

PHP 8.1 compatibility

hi,
just now i was doing an upgrade to 2.4.6 & php8.1 and got the following warnings
Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/vendor/magefan/module-community/Model/Section.php on line 144

Warning: Private methods cannot be final as they are never overridden by other classes in /var/www/html/vendor/magefan/module-community/Model/Section/Info.php on line 83

Nothing urgent, but ugly. Could you possibly do something about it? :)

community cron error

Hi

we getting error nightly
[2020-08-18 01:01:03] main.CRITICAL: Warning: Invalid argument supplied for foreach() in /data01//app/code/Magefan/Community/Cron/Sections.php on line 87 {"exception":"[object] (Exception(code: 0): Warning: Invalid argument supplied for foreach() in /data01/app/code/Magefan/Community/Cron/Sections.php on line 87 at /data01/vendor/magento/framework/App/ErrorHandler.php:61)"} []

i checked the file and seems the cron execute checking
app/code/Magefan/Community/Cron/Sections.php. line 57
$path = strrev('delbane/lareneg'); in core_config_data. and it fails
somehow cron isstill requested

what is delbane/lareneg' ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.