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
Related
I want to create object from string type variable but I'm failed.
I am trying this -
My code:
$variableName="I am a novice OOP programmer";
$variableInstance= new $variableName();
echo $variableInstance;
Output notice is
Fatal error: Uncaught Error: Class 'I am a novice OOP programmer' not found
If you kindly get me another answer what is fatal error? And why it may be shown?
I have a joomla template on my website, integrated with SP Page Builder. I have not tampered with any wrong setting, but suddenly I started to receive the following error:
Recoverable fatal error: Object of class stdClass could not be converted to string in /home/interpr1/public_html/lms/components/com_sppagebuilder/layouts/addon/css.php on line 82
The error occurs when I go to the frontend of my website to edit the page.
I went to the CSS file and on line 82, here is what I found:
$addon_css .= (isset($addon->settings->global_border_radius) && $addon->settings->global_border_radius) ? "border-radius: " . $addon->settings->global_border_radius . "px;\n" : "";
I am not at all familiar with PHP, and that is why I could not benefit from the solutions given to similar errors reported on this website.
When attempting to use the Asana API PHP library from here https://github.com/Asana/php-asana I get the following error:
Fatal error: Class 'Error' not found in \src\Asana\Dispatcher\OAuthDispatcher.php on line 49
I realise the error is because the authorization is not working - but how can I fix it to actually throw an exception?
you need to figure out if the class Error is exists and in a loader path.
but for now you can wrap problematic code to try.... catch
try{
line 49 code here
}catch(Exception $e){}
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?
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.