Fatal error: Call to undefined method ModulesHelper::getActions() - joomla

When I create new module using Roksproket, I get:
Fatal error: Call to undefined method ModulesHelper::getActions() in C:\xampp\htdocs\pgocaribbeantv\administrator\components\com_roksprocket\views\module\view.html.php on line 139
What might the problem be?

This is a known issue with Joomla 3.2.2, the getActions function was meant to be depreciated and then removed.
https://github.com/joomla/joomla-cms/pull/3061
For now you can try upgrading RockSprocket as they added a release to work around the bug (see their changelog):
http://www.rockettheme.com/joomla/extensions/roksprocket

Related

RxJS-DOM - Cannot read property 'AbstractObserver' of undefined

I've just included RxJS 5.4.0 and RxJS-DOM 7.0.3 on a page and got this error in the console:
TypeError: Cannot read property 'AbstractObserver' of undefined
How can I resolve this error?
Rx-DOM is not fully compatible will RxJS 5.
See open tickets on github:
https://github.com/ReactiveX/rxjs/issues/1223
https://github.com/Reactive-Extensions/RxJS-DOM/issues/105
To avoid this error you need to use RxJS 4.

Why does Phalcon 2 raise "undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0" warning?

When I installed Phalcon 2.0.13 according to the https://docs.phalconphp.com/en/latest/reference/install.html description and I wanted to launch my test script then I got the following error (literally it is just a warning but it causes Phalcon not to be loaded which causes errors):
{
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/phalcon.so' - /usr/lib/php/20131226/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
}
What is this symptom cased by and how could I get rid of it?
After struggling a lot, I managed to solve the problem. The {extension=phalcon.so} line should be put NOT in php.ini. Much rather, you should create a /etc/php/5.6/cli/conf.d/30-phalcon.ini file containing {extension=phalcon.so}.
The reason is that this way you can guarantee that the processing order of the ini files is appropriate.
If you want to use Phantom not just in cli but in apache module as well then copy the ini file in the corresponding directory too.
(The directory names can be different in your system.)

how do i solve dompdf error?

I am using dopdf for my reports and on one of the reports it gives me this error:
Fatal error: Call to undefined method
Inline_Frame_Decorator::normalise() in
C:\xampp\htdocs\sraerca\system\helpers\dompdf\include\table_frame_decorator.cls.php
on line 252
But works fine with other reports.

Linux compile error: undefined reference to `kvm_arch_vcpu_runnable'

I want to call function kvm_arch_vcpu_runnable() in tick-sched.c, but got the following error:
/usr/src/linux-3.13.9/kernel/time/tick-sched.c:213: undefined reference to `kvm_arch_vcpu_runnable'
how can I fix this?
Just find definition of this function in kernel and use:
EXPORT_SYMBOL_GPL(kvm_arch_vcpu_runnable)
I hope it help.

Fatal error: Class 'JParameter' not found in template/theme/index.php on line xxx

i upgrade template 2.5 to 3.0, template upgrade but come the following error.
Fatal error: Class 'JParameter' not found in template/theme/index.php on line xxx
JParameter was removed in Joomla 3.0 and now either JForm or in most cases JRegistry should be used.
So use the following code, and change to suit your own needs
$jparams = new JRegistry();
$variable = $jparams->get('param_name');

Resources