Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag is used for questions that involve PHP code in any way. So as soon there is a PHP Exception returned or error report generated, this question qualifies to be tagged with PHP.
2
votes
Accepted
Cron.php not working using cronjob setting from Cpanel and no confirmation mail send to cust...
Issue Solved
I just changed php /home1/user_name/public_html/cron.php to /usr/php/54/usr/bin/php -q /home1/user_name/public_html/cron.php. Here 54 is my hostserver php version. …
11
votes
Errors during compilation: AbstractConfigOption.php
A temporary fix that I have done taken backup of vendor/symfony/console/Input/InputOption.php file and modify it.
After line 48 replace the comment as below before constructor:
/**
* @param stri …
0
votes
How to replace product id?
php
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$productId = 10001; // YOUR PRODUCT ID
//Delete category from product
$productRepository = $objectManager->get('\Magento\Catalog …
0
votes
2
answers
6k
views
Cron.php not working using cronjob setting from Cpanel and no confirmation mail send to cust...
I just set cron job using cpanel of my site,
according to that cron.php runs in every 5 mins.
But it's not.
It is working whenever I execute cron.php directly from browser.
Here is the code of my …
0
votes
How can I display the value of an attribute in list.phtml?
$attributeCode = 'product_text';
if ($_product->getData($attributeCode) != null)
{
echo $_product->getProductText();
}
else
{
echo 'Is NULL';
}
Also set one more field value to yes, follow t …