Magento upgrade 1.9.0 to 1.9.1 upgrade then blank page - magento-1.9.1

I'm new in magento, I see the following error message after the upgrade via ftp:
Fatal error: Class 'Mage_Sales_Model_Resource_Setup' not found in /home/user/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php on line 234
thanks for help

It seems it has something to do with a missing class called "Mage_Sales_Model_Resource_Setup" in......on line 234 so you need to type that class in the certain directory on line 234 which would be in "Setup.php". Once that's done you wont be getting the error message because the class is there or try upgrading again and see if they put the class in if not i don't know maybe complain to Magento?.
(if you dont know what a class is view this link if you wont to know: http://php.net/manual/en/keyword.class.php)

Related

Prestashop 1.7 Context::getContext() not working in AdminController

I have created custom admin controller in my custom module but i am not able to use Context::getContext() in my admin controller.
When i try to use that i am getting below error.
Attempted to call an undefined method named "getContext" of class "PrestaShop\PrestaShop\Adapter\Shop\Context".
Did you mean to call e.g. "getContextListShopID", "getContextListShopIDUsingCustomerSharingSettings", "getContextShopGroup" or "getContextShopID"?
I have already added this line at the top of my file use PrestaShop\PrestaShop\Adapter\Shop\Context;
but still facing same issue.
If anyone have any idea why Context::getContext() doesn't work I would like to hear it.
Thanks

Prestashop PHP Smarty Errors

My error_log file keeps getting filled with this error and i don't know what is causing it. Any idea how i can find what is causing the error ?
[14-Aug-2020 13:20:32 Europe/Bucharest] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <--
thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177
It means somewhere in the code there is a variable called {$template} which is not defined. It could be theme templates or modules
I would use IDE to look for this variable. If this doesnt work just go for debuging technique, start where smarty starts rendering and go till place where it crashes :)
It looks like it is a dublicate for this question, maybe will help
SmartyException 0():Missing '$template' parameter with Prestashop
This also might be due to messed up module structure, its ModuleFrontControllers etc.
You can try to edit this file:
thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177
and check if you can log more informations about an error, file path etc.

IntelliJ recognizes class but "can't access class"

I've used IntelliJ a good bit and never seen this happen. Here's a screenshot I've what I'm seeing. I just started this project, I've tried deleting the problem Vehicle class and putting it back, still has an error. I've tried File -> Invalidate Caches/Restart. Nothing. I've updated to the latest version. Not really sure what to do about it. Any help would be greatly appreciated!
Class attempting to create a Vehicle
Vehicle class

Advanced Custom Fields plugin - potential bug?

Good day,
Does anyone know the solution to the following problem?
I have recently set up the Advanced Custom Fields plugin with a custom post template and have been using Gravity Forms to submit post data. Everything seemed to be working fine on a number of posts. However, I went to update a post through the post editor screen and when I clicked on 'update' or 'preview' I got the following error:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/uswfeoab/public_html/wp-content/plugins/advanced-custom-fields/core/fields/_functions.php on line 396
This was repeated 8 times before the following error code:
Warning: Cannot modify header information - headers already sent by (output started at /home/uswfeoab/public_html/wp-content/plugins/advanced-custom-fields/core/fields/_functions.php:396) in /home/uswfeoab/public_html/wp-includes/pluggable.php on line 876
I have had a good look at the forums and the ACF website but can't find any troubleshooting for errors relating to the _functions.php file. For reference the line of code on line 396 is $field = array_merge($defaults, $field);
Unfortunately this is way beyond my PHP skills. Any suggestions would be greatly appreciated!
Phew!
The author of Advanced Custom Fields issued and update to Version 4.1.2 today. This has resolved the problem.
Panic over!

how to solve the following error in rally tool?

Whenever i move from one release(ex: release-1) to another release (ex: release-2) by using release dropdown button, i am getting this error( in rally 1.26 and 1.27 versions not in 1.22). how to solve this problem? please send your reply to my mail.
My mail ID: ramesh_yenda#dell.com
Error: Tried to register widget with id==tableGrid but that id is already registered
https://pg-rally.us.dell.com/apps/1.26/component_10-03-2011.js
Line 16
Thanks,
Ramesh
This problem is caused by a change in the behavior of the table component between early versions of the App SDK where the table would automatically clean itself up and later ones where it would not.
Please see this example: developer.rallydev.com/help/ui-examples#iteration (Specifically the onIterationSelected function where you can see the table being destroyed before being recreated).