Magefan blog - images not showing after updateFatal error: Allowed memory size of 536870912 bytes exhaustedFatal error memory exhausted Zend PdoMagento 2 Install Admin IssueMagento checkout page goes blank when checking out also product image not uploadingGetting Allowed memory size error on sample data deployment magento2Checkout page is emptyMagento 2 setup errorMagento : sales_order_save_after gives memory allocation errorMemory size errorCron not working and Cron log showing Fatal error: Allowed memory size of 33554432 bytes exhausted
What was Apollo 13's "Little Jolt" after MECO?
Crossed out red box fitting tightly around image
Multiple options vs single option UI
What is purpose of DB Browser(dbbrowser.aspx) under admin tool?
How to pronounce 'c++' in Spanish
Why is the underscore command _ useful?
How much cash can I safely carry into the USA and avoid civil forfeiture?
Why do games have consumables?
Why doesn't the standard consider a template constructor as a copy constructor?
Why do distances seem to matter in the Foundation world?
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
Is there a word for the censored part of a video?
Apply a different color ramp to subset of categorized symbols in QGIS?
Which big number is bigger?
What is this word supposed to be?
"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"
A Note on N!
Find a stone which is not the lightest one
How bug prioritization works in agile projects vs non agile
Is there metaphorical meaning of "aus der Haft entlassen"?
Work requires me to come in early to start computer but wont let me clock in to get paid for it
Is there really no use for MD5 anymore?
A faster way to compute the largest prime factor
What *exactly* is electrical current, voltage, and resistance?
Magefan blog - images not showing after update
Fatal error: Allowed memory size of 536870912 bytes exhaustedFatal error memory exhausted Zend PdoMagento 2 Install Admin IssueMagento checkout page goes blank when checking out also product image not uploadingGetting Allowed memory size error on sample data deployment magento2Checkout page is emptyMagento 2 setup errorMagento : sales_order_save_after gives memory allocation errorMemory size errorCron not working and Cron log showing Fatal error: Allowed memory size of 33554432 bytes exhausted
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have updated the magefan extension and the images stop showing on blog lists page. When I click on the read more button and go to the post, the image is there, but the small thumbnail image in blog list mage is missing.
The inspector is giving me:
<img class="img-responsive" src=(unknown) alt="Image alt">
When I print the $img it does not returns me anything:
$img = $_helper->init($_post->getImage())->resize($_width,$_height);
In my error log i have error like this:
[Fri Aug 04 11:03:03.564586 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400572416 bytes) in
/home/sasa/www/shopifit/app/design/frontend/Emthemes/
everything/default/Magefan_Blog/templates/post/list/item.phtml on line
25, referer: http://shopifit/
[Fri Aug 04 11:03:03.564784 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400560128 bytes) in Unknown on line
0, referer: http://shopifit/
I tried php bin/magento setup:static-content:deploy and give all project sudo chmod -R 777 but nothing seems to work. If anyone have any idea please let me know.
magento2 php blog
bumped to the homepage by Community♦ 6 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have updated the magefan extension and the images stop showing on blog lists page. When I click on the read more button and go to the post, the image is there, but the small thumbnail image in blog list mage is missing.
The inspector is giving me:
<img class="img-responsive" src=(unknown) alt="Image alt">
When I print the $img it does not returns me anything:
$img = $_helper->init($_post->getImage())->resize($_width,$_height);
In my error log i have error like this:
[Fri Aug 04 11:03:03.564586 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400572416 bytes) in
/home/sasa/www/shopifit/app/design/frontend/Emthemes/
everything/default/Magefan_Blog/templates/post/list/item.phtml on line
25, referer: http://shopifit/
[Fri Aug 04 11:03:03.564784 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400560128 bytes) in Unknown on line
0, referer: http://shopifit/
I tried php bin/magento setup:static-content:deploy and give all project sudo chmod -R 777 but nothing seems to work. If anyone have any idea please let me know.
magento2 php blog
bumped to the homepage by Community♦ 6 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have updated the magefan extension and the images stop showing on blog lists page. When I click on the read more button and go to the post, the image is there, but the small thumbnail image in blog list mage is missing.
The inspector is giving me:
<img class="img-responsive" src=(unknown) alt="Image alt">
When I print the $img it does not returns me anything:
$img = $_helper->init($_post->getImage())->resize($_width,$_height);
In my error log i have error like this:
[Fri Aug 04 11:03:03.564586 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400572416 bytes) in
/home/sasa/www/shopifit/app/design/frontend/Emthemes/
everything/default/Magefan_Blog/templates/post/list/item.phtml on line
25, referer: http://shopifit/
[Fri Aug 04 11:03:03.564784 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400560128 bytes) in Unknown on line
0, referer: http://shopifit/
I tried php bin/magento setup:static-content:deploy and give all project sudo chmod -R 777 but nothing seems to work. If anyone have any idea please let me know.
magento2 php blog
I have updated the magefan extension and the images stop showing on blog lists page. When I click on the read more button and go to the post, the image is there, but the small thumbnail image in blog list mage is missing.
The inspector is giving me:
<img class="img-responsive" src=(unknown) alt="Image alt">
When I print the $img it does not returns me anything:
$img = $_helper->init($_post->getImage())->resize($_width,$_height);
In my error log i have error like this:
[Fri Aug 04 11:03:03.564586 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400572416 bytes) in
/home/sasa/www/shopifit/app/design/frontend/Emthemes/
everything/default/Magefan_Blog/templates/post/list/item.phtml on line
25, referer: http://shopifit/
[Fri Aug 04 11:03:03.564784 2017] [:error] [pid 6922] [client
127.0.0.1:58264] PHP Fatal error: Allowed memory size of 805306368
bytes exhausted (tried to allocate 400560128 bytes) in Unknown on line
0, referer: http://shopifit/
I tried php bin/magento setup:static-content:deploy and give all project sudo chmod -R 777 but nothing seems to work. If anyone have any idea please let me know.
magento2 php blog
magento2 php blog
asked Aug 4 '17 at 9:35
MiloMilo
639
639
bumped to the homepage by Community♦ 6 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 6 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I think, the problem is in resizing.
The right way to resize images in Magefan Blog *.phtml
templates is described here https://github.com/magefan/module-blog/wiki/How-to-resize-post-image-in-Magefan-Blog-extension-for-Magento-2
Pay attention, there are two similar by name methods:
$_post->getFeaturedImage(); // returns the full image URLFor correct resizing we need to use the second one.
$_post->getFeaturedImg(); // returns relative image path, based on Magento media folder
Hope, it helps.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187891%2fmagefan-blog-images-not-showing-after-update%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think, the problem is in resizing.
The right way to resize images in Magefan Blog *.phtml
templates is described here https://github.com/magefan/module-blog/wiki/How-to-resize-post-image-in-Magefan-Blog-extension-for-Magento-2
Pay attention, there are two similar by name methods:
$_post->getFeaturedImage(); // returns the full image URLFor correct resizing we need to use the second one.
$_post->getFeaturedImg(); // returns relative image path, based on Magento media folder
Hope, it helps.
add a comment |
I think, the problem is in resizing.
The right way to resize images in Magefan Blog *.phtml
templates is described here https://github.com/magefan/module-blog/wiki/How-to-resize-post-image-in-Magefan-Blog-extension-for-Magento-2
Pay attention, there are two similar by name methods:
$_post->getFeaturedImage(); // returns the full image URLFor correct resizing we need to use the second one.
$_post->getFeaturedImg(); // returns relative image path, based on Magento media folder
Hope, it helps.
add a comment |
I think, the problem is in resizing.
The right way to resize images in Magefan Blog *.phtml
templates is described here https://github.com/magefan/module-blog/wiki/How-to-resize-post-image-in-Magefan-Blog-extension-for-Magento-2
Pay attention, there are two similar by name methods:
$_post->getFeaturedImage(); // returns the full image URLFor correct resizing we need to use the second one.
$_post->getFeaturedImg(); // returns relative image path, based on Magento media folder
Hope, it helps.
I think, the problem is in resizing.
The right way to resize images in Magefan Blog *.phtml
templates is described here https://github.com/magefan/module-blog/wiki/How-to-resize-post-image-in-Magefan-Blog-extension-for-Magento-2
Pay attention, there are two similar by name methods:
$_post->getFeaturedImage(); // returns the full image URLFor correct resizing we need to use the second one.
$_post->getFeaturedImg(); // returns relative image path, based on Magento media folder
Hope, it helps.
answered Oct 20 '17 at 13:17
AlexAlex
8818
8818
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187891%2fmagefan-blog-images-not-showing-after-update%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown