"Invalid config field backend model: adminhtml/system_config_backend_secure" Error - php

I have apparently done a sloppy upgrade to Magento 1.4.2.
At first, I was getting this error:
Fatal error: Call to a member function toOptionArray() on a non-object in /home/rrmusicc/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php on line 385.
I found a solution for this in a forum so I applied that fix, now I'm getting this error:
Invalid config field backend model: adminhtml/system_config_backend_secure
Any ideas?

Related

Fatal error: Uncaught Error: Class 'Api\WP_Error' not found in wordpress

I am using the WordPress login form and I want to Limit Login Attempts for that form without the use of any plugin. I found the code on this link:
https://phppot.com/wordpress/how-to-limit-login-attempts-in-wordpress/
I have added this code in the functions.php file but when I try to login it shows me
Fatal error: Uncaught Error: Class 'Api\WP_Error' not found in C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(287)
I try to find a solution for this issue but didn't get any proper solution.
You need set return new \WP_Error It's should help you. See here

Fatal error: Cannot access private property

I`m trying to finish my crowdfunding site, but when I try to make a payment through the site I keep getting this error:
Fatal error: Cannot access protected property Error::$message in
/home/janisgoba/www/outfundit/wp-content/themes/funding_press/funding/lib/PayPal/Serializer/Unserializer.php
on line 826
I found in one other topic, that I should "Use $e->getMessage() instead of $e->message because message is a protected property" but there is no "message" on line 826.
Maybe you guys have some tips?
Regards,
Janis

Magento getConfigurableAttributesAsArray causes fatal error

I am trying to write a script that creates configurable products. Ive been using this as a guide: http://inchoo.net/magento/programmatically-create-a-configurable-magento-product/
When I get to this line:
$configurableAttributesData = $configProduct->getTypeInstance()->getConfigurableAttributesAsArray();
The script crashes and kicks out this error:
Fatal error: Call to a member function getId() on a non-object in /home/buyfrom/public_html/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php on line 283
Following a comment on this page, I changed that line to the following:
$possibleAttributes = $product->getTypeInstance(true)->getConfigurableAttributesAsArray($product);
But I am still getting this error. Can anyone suggest how to fix this?
Make sure that attribute set (eg. default) which you are choosing is having at least one configurable attribute (example: 'color' or 'size').

setFormFieldName() on a non-object magento Admin

On manage product page, I'm getting no grid, I traced it and it shows the error
Fatal error: Call to a member function setFormFieldName() on a non-object in /app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php on line 279
I don't know whats wrong with it.
I think the FieldName value is invalid, it should be $this->getMassactionBlock()->setFormFieldName('product_id');

cakePHP: sporadic occurrence of "Call to a member function allow() on a non-object"

when I call a specifical controller-script of my Web-Application I sporadically get the following error:
Fatal error: Call to a member function allow() on a non-object in /srv/www/vhost/app/Controller/myController.php on line 11
Line 11 contains
$this->Auth->allow(array('get'));
Anyone an idea what this may cause?
Regards,
~MxAgent
Problem fixed. It was a caching-problem due to server doesn't support APC.

Categories