We’re rewarding the question askers & reputations are being recalculated! Read more.
14

Same error with another extension here. system.log says Argument 1 passed to Mage_Api_Model_Server_Handler_Abstract::processingMethodResult() must be of the type array, string given, called in app/code/core/Mage/Api/Model/Server/Handler/Abstract.php... I think the problem is the new method Mage_Api_Model_Server_Handler_Abstract::...


5

You have an issue in magento log tables. first Take backup of below tables log_customer log_visitor log_visitor_info log_url log_url_info log_quote Then truncate the tables. This will resolved your issue.


4

Brent Peterson has an updated repo of all the patches you can find it here: https://github.com/brentwpeterson/magento-patches?files=1


3

It is most probably due to settings of your domain and what reputation it has, not anything to do with Magento. See this : https://support.google.com/a/answer/33786?hl=en-uk&hlrm=en And check if there are any other problems, which might lead to low domain reputation. But considering the code and mail content in particular, try following these ...


3

The best call would be getAllIds() in my knowledge. Explanation $collection = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToSelect('sku') ->addAttributeToSelect("$supplier_name") ->addAttributeToSelect('production_nr') ->addAttributeToSelect(...


3

The fastes way for a single call is to use getIdBySku from catalog/product: if (Mage::getSingleton('catalog/product')->getIdBySku('yoursku')) { // Product exists } else { // Product does not exist } Mind the getSingleton instead of getModel for this usage! Alternative: If you need to read them all in once you can use getAllIds() from a collection.


3

In your modules config.xml put the following: <config> <global> <models> <yourinvoicecron> <class>your_Invoice_Model</class> </yourinvoicecron> </models> </global> <crontab> <jobs> ...


3

Please install manually, you can find your magento patch files here https://magentary.com/kb/install-supee-9767-without-ssh/


2

Billing Agreements : copy this file app/design/frontend/base/default/layout/sales/billing_agreement.xml in your current theme and remove below lines <reference name="customer_account_navigation" > <action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label&...


2

I found an answer. I removed the style: .input-text:focus{ border: 1px solid $c-input-border-focus;} & just added the style : .input-text:focus{outline:none;} May this help someone.


2

The conflict happens in app/etc/modules/Mage_All.xml Most likely this file is not the original file from 1.9.2.4 that's why the patch fails. Here are the steps to take: backup this app/etc/modules/Mage_All.xml file by renaming it download the original 1.9.2.4 file from here: https://github.com/OpenMage/magento-mirror/blob/1.9.2.4/app/etc/modules/Mage_All....


2

Try below code, that will work for you $weekCollection = Mage::getModel('mymodule/mymodel')->getCollection() ->addFieldToFilter('id',16); $weekCollection->getSelect()->where("week(created_time, 1) = $week");


2

You can rewrite Mage_Checkout_Block_Cart_Totals::needDisplayBaseGrandtotal() function to achieve this with below code. public function needDisplayBaseGrandtotal() { $quote = $this->getQuote(); $hideForPayment = 'cashondelivery'; // Your Payment method code for which you want to hide message if ($quote->getBaseCurrencyCode() != $quote->...


2

Kindly follow the below steps: I am posting the answer as per below considerations 1) module name: Ewall_Test II) Attribute code: custom_mobile Step 1: create a module using silk software with customer attribute (which i have posted first answer) Step 2: app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml Keep the below ...


2

Go To Catalog => Manage Attribute => Search for Attribute "size" & Values Required change from No to Yes


2

Please Try This $client = new SoapClient('http://www.url.co/api/soap/?wsdl'); // If somestuff requires api authentification, // then get a session token $session = $client->login('user', 'password'); $result = $client->call($session,'customer.create',array(array('email' => 'mailakki@example.org', 'firstname' => 'Dough', '...


2

I've got Magento 1.9.2.4 and lib/Unserialize/Reader/Null.php was already present? contents; <?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource....


2

First take a backup of your Magento1 database. Please remove orphans record from your Magento1 database. after you solve Foreign key error. Remove 121,164 attribut_id row from catalog_eav_attribute. Remove 121 attribut_id row from catalog_product_entity_int. Remove 121,163,164 attribut_id row from eav_entity_attribute. Source fields are not mapped. ...


1

The first thing that comes to mind is: where are your block classes? To show stuff you need both a controller and a block. And you need to define the blocks for the layout handle as well. The code you're using now is rendered correctly, but you didn't define any content. I see you used the code from Bubblecode, which also has comments that the code isn't ...


1

You can use: $weekCollection = Mage::getModel('mymodule/mymodel')->getCollection() ->addFieldToFilter('id',`16) ->getSelect() ->where(new Zend_Db_Expr("week(created_time, 1) = $week"));


1

Update your code: $_week = week(created_time, 1); $weekCollection = Mage::getModel('mymodule/mymodel')->getCollection() ->addFieldToFilter('id',16) ->addFieldToFilter($_week,$week);


1

As mentioned below by Rajeev K Tomy the speed of query using getAllIds() method seems fastest in magento. But you can get needed attribute values also (such as 'production_nr' or 'sku_supplier') without loading collection. This method slightly more slowly then getAllIds(). //addAttributeToSelect use only for EAV attributes $collection = Mage::getModel('...


1

You dont need to add cron.php file in cronjob cpanel if you have add cron.sh file. add below instead of yours sh line bin/sh /home/username/public_html/cron.sh Solution 2: add https://www.magentocommerce.com/magento-connect/smtp-pro-email-free-custom-smtp-email.html this extension, in system ->config of this extension you get one setting so you can ...


1

I found the solution, this is a bug in SUPEE-8788 Open samples.phtml inside app/design/adminhtml/default/default/template/downloadable/product/edit/downloadable Find the function remove : function(event){ var element = $(Event.findElement(event, 'tr')); alertAlreadyDisplayed = false; if(element){ element.down('input[type="hidden"]....


1

Change your second code snippet from <strong class="action_button"> <a class="icon_list calender" target="_blank" title="Copy" onclick="return confirm('<?php echo $this->__('Are you sure want to copy').'?'; ?>')" href=$this->__<?php echo Mage::helper(‘function’)->Duplicate_frontend(); ?> ><?php echo $this->__('Copy') ?&...


1

there were many things that is wrong in your code ,First I notice that your module file name is Duplicate_frontend.xml instead of Duplicate_Function.xml and code for that file would be. <?xml version=“1.0”?> <config> <modules> <Duplicate_Function> <active>true</active> <codePool>local</codePool> </...


1

It's look like you have not installed the previous versions of SUPEE patches. You can check SUPEE patches status here magereport. Please apply all previous versions and then install SUPEE-8788. For read about hunk click here Hope this will help you.


1

First, check your site in magereport. You will see if any patches are missed or your admin url is disclosed. Basically, you should have custom admin url which can be accessed from your IP only. If you have followed the best practice of Magento security, these things are explained. Like you said, you have followed all instruction for brute force, but still ...


1

Belgors answer really helped me, but I ended up modifying the patch slightly to allow for extra objects to be included in the API reposnse. For example you now get aheadWorks storecredit and/or giftcard object-arrays with the Magento XML-RPC call for order information. (code updated from suggestion by Björn Tantau - to better work with objects & ...


1

More than likely the ShipStation module and/or the PHP version you are running isn't compatible: https://secure.php.net/manual/en/language.oop5.typehinting.php https://stackoverflow.com/questions/4103480/really-php-argument-1-passed-to-my-function-must-be-an-instance-of-string-s Guessing off the truncated PHP error message that's returned: Argument 1 ...


Only top voted, non community-wiki answers of a minimum length are eligible