Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • Vio Stepanov
  • Vio Stepanov's Avatar
07 Oct 2012 23:06
JModel vs K2Model - fatal error was created by Vio Stepanov

JModel vs K2Model - fatal error

Category: English K2 Community

joomla 1.7
k2 updated to version 2.6.0, and immediately there was an error -

Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/pxxxxx/www/mysite.com/administrator/components/com_k2/models/model.php on line 40

in the backend, we can not act, constantly displays the indicated error, my site is dead, what to do? Help!
  • George
  • George's Avatar
07 Oct 2012 00:05
Replied by George on topic Blank Backend

Blank Backend

Category: English K2 Community

I managed to manually delete the specific error folder and the administrative page returned.

But another failed attempt while trying to install k2 2.5.7

PHP Fatal error: Call to a member function getLatestItems() on a non-object in /myserver/administrator/modules/mod_k2_stats/helper.php on line 18
  • George
  • George's Avatar
06 Oct 2012 23:42
Replied by George on topic Blank Backend

Blank Backend

Category: English K2 Community

On a furher note (possibly a case of incomplete upload) heres the error in the admin folder

PHP Fatal error: Class 'K2Model' not found in /myserver/plugins/system/k2/k2.php on line 360
  • karlo
  • karlo's Avatar
06 Oct 2012 10:33
Replied by karlo on topic Error with K2 v2.6.0 and new Joomla 2.5.7

Error with K2 v2.6.0 and new Joomla 2.5.7

Category: English K2 Community

I have the same problem after the upgrade from 2.5.7 to 2.6.0

Fatal error: Call to a member function categoriesTree() on a non-object in /home/public_html/administrator/components/com_k2/views/items/view.html.php on line 124
  • Steven Johnson
  • Steven Johnson's Avatar
05 Oct 2012 17:31 - 05 Oct 2012 17:47
Replied by Steven Johnson on topic Display specific extra field in module position ?

Display specific extra field in module position ?

Category: English K2 Community

Thanks so much for posting the foreach loop. I think this gets me on the right track.

What does the php code look like to insert a condition to print out a specific field?

Thanks! -- Steven

I am on Joomla 2.5.7 and K2 2.5.7


EDIT
After reading this post, I do not think this is 100% my situation. I am trying to display the k2 content module on the home page. In this module I want to display a single custom field for each of the different items

When I and the code to prepare extra field
 
  • Mariana Ramírez Figueroa
  • Mariana Ramírez Figueroa's Avatar
03 Oct 2012 13:13 - 04 Oct 2012 18:22
[SOLVED] Captcha error in registration form was created by Mariana Ramírez Figueroa

[SOLVED] Captcha error in registration form

Category: English K2 Community

Hello, I'm having trouble with the registration form and reCaptcha, it is not recognizing the words entered:

Attachment not found



After this, the system displays: The words you entered did not match those shown. Please try again.

Since I tried several times in different browsers and got the same result, I disabled the plugin and set it to NO in k2 parameters, but then it appears this error when I try to registrate a new user:

Fatal error: Call to a member function checkAnswer() on a non-object in /libraries/cms/form/rule/captcha.php on line 52

Does anyone knows how to fix this?
  • Tom Faull
  • Tom Faull's Avatar
02 Oct 2012 11:29
Error Log from K2 and Disqus was created by Tom Faull

Error Log from K2 and Disqus

Category: English K2 Community

Hi

I have recently set up a site with K2 on Joomla 2.5.7, everything is up to date.
I have installed the Disqus plugin and it appears to work on the site however it is generating a massive error_log file on the server. The file is full of lines like:
[02-Oct-2012 11:20:56 UTC] PHP Fatal error: Class 'JParameter' not found in /home/ukgay/public_html/plugins/k2/disqus_k2/disqus_k2.php on line 76
It get's to 500Mb in less than 24 hours. The line number at the end varies.
The site is: www.gayuknews.com

Any help appreciated.
  • Gaye
  • Gaye's Avatar
28 Sep 2012 15:10

Fatal Error Controller.Php missing

Category: English K2 Community

I use Joomla 1.5.7 and K2 2.5.7 When I click on Read more or "Title" or "Comments" it says:

Warning: require_once(C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php) [function.require-once]: failed to open stream: No such file or directory in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php' (include_path='.;C:\PHP52\pear') in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20
PHP Warning: require_once(C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php) [function.require-once]: failed to open stream: No such file or directory in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20 PHP Fatal error: require_once() [function.require]: Failed opening required 'C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php' (include_path='.;C:\PHP52\pear') in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20

in ...\components\com_k2 directory There is no controller.php

Can you please Help me ?

Thanks,
  • Tony Bell
  • Tony Bell's Avatar
22 Sep 2012 18:55

Fatal error: Call to a member function load

Category: English K2 Community

Recently upgraded www.suffolkbasketball.net to Joomla! 2.5 running K2
Everything has been fine until today when I try to access the site I get:

Fatal error: Call to a member function load() on a non-object in /home/suffolk/public_html/components/com_k2/views/itemlist/view.html.php on line 40

line 40 loads the category id ( $category->load($id); )

When I try to access the site's backend admin area I get a 404 page not found error. My host tells me PHP is working normally, I can access files via FTP & cPanel.

Any ideas? Thanks in advance.
  • Christopher Ntikas
  • Christopher Ntikas's Avatar
14 Sep 2012 13:06
Replied by Christopher Ntikas on topic Fatal error: Call to undefined function mb_interna

Fatal error: Call to undefined function mb_interna

Category: English K2 Community

Hello to you. I have a problem locating php.ini to make the changes... It should be on: Configuration File (php.ini) Path /usr/lib
But I can't find something like this. Can you help me please
[When I try to create a new item (article) in k2, the error message you reffer is appearing. This happened whith no reason yesterday..)

Thank you.
  • Lefteris
  • Lefteris's Avatar
13 Sep 2012 15:26

Fatal error: Class 'FinderIndexerResult' not found

Category: English K2 Community

Did you displayed the K2 Smart Search plugin? It should work. Did you try to save it's parameters? Also you didn't respond if it's a new installation or an update from a previous Joomla! version.
  • jo-jo
  • jo-jo's Avatar
12 Sep 2012 14:35

Fatal error: Class 'FinderIndexerResult' not found

Category: English K2 Community

Hello,

I've installed the latest version of K2 (downloaded today) on Joomla 2.5.6.

The installation went fine but when I came to add a new item vis the Item section of K2 I got the following error:

Fatal error: Class 'FinderIndexerResult' not found in /web/www/joombackup/joomla/libraries/joomla/utilities/arrayhelper.php on line 105

No sure what I've done wrong.

Any help would be great.

Thanks
  • Gérald Abbadie
  • Gérald Abbadie's Avatar
12 Sep 2012 12:59
Replied by Gérald Abbadie on topic Catchable fatal error and Warning: Illegal offset

Catchable fatal error and Warning: Illegal offset

Category: English K2 Community

I found a solution.
Line 478 in administrator/components/com_k2/lib/JSON.php, $str variable has to be a string. To avoid the error I've add a very bad hack to be sure to convert the variable to string :

function reduce_string($str)
{
$str = strval($str); // added by exlineo
$str = preg_replace(array(

// eliminate single line comments in '// ...' form
'#^\s*//(.+)$#m',

// eliminate multi-line comments in '/* ... */' form, at start of string
'#^\s*/\*(.+)\*/#Us',

// eliminate multi-line comments in '/* ... */' form, at end of string
'#/\*(.+)\*/\s*$#Us'

), '', $str);

// eliminate extraneous space
return trim($str);
}
  • Tunji Opayele
  • Tunji Opayele's Avatar
11 Sep 2012 23:06
Cannot Create Categories was created by Tunji Opayele

Cannot Create Categories

Category: English K2 Community

Hi,
Anytime i try to create a new category in k2 or import from the content component to K2 i get this error
Fatal error: Call to undefined function mb_regex_encoding() in /home/******/public_html/administrator/components/com_k2/tables/k2category.php on line 93

I searched the forum for related problems and i saw something about MbString. It is enabled on the server
Please what can i do about this.
  • Gérald Abbadie
  • Gérald Abbadie's Avatar
11 Sep 2012 07:56 - 11 Sep 2012 07:59
Replied by Gérald Abbadie on topic Catchable fatal error and Warning: Illegal offset

Catchable fatal error and Warning: Illegal offset

Category: English K2 Community

Hye,

I removed the category to the Joomla administration> select> delete.
But it may be another transaction that was a problem, I cannot say with certainty.

I've try to edit each element but the bug is still there.

Nobody get the same problem ?

ps : if you try a google search like : 'warning components/com_k2/models/item.php on line 1110' you will find many websites. Weird.
  • Lefteris
  • Lefteris's Avatar
07 Sep 2012 13:25

Catchable fatal error and Warning: Illegal offset

Category: English K2 Community

Hi. Are you still getting this error? Try to edit and save again the item that is having the issue. Also how did you removed the extra fields? Did you use the K2 administration or you just removed it manually from the database?
  • Gérald Abbadie
  • Gérald Abbadie's Avatar
07 Sep 2012 08:54
Catchable fatal error and Warning: Illegal offset was created by Gérald Abbadie

Catchable fatal error and Warning: Illegal offset

Category: English K2 Community

After manipulation on K2 categories (option changes) and the elimination of a group of additional fields, the site is completely out with error messages:
Warning: Illegal offset type in isset or empty in / xxxxxx/components/com_k2/models/item.php on line 1110
Catchable fatal error: Object of class stdClass Could not be converted to string in / xxxxxxxx/administrator/components/com_k2/lib/JSON.php on line 478


I did an update of K2 but instead of fixing the problem, it has created a new one in the administration. Component appears only on the home page but not in the administration menu components while remaining functional.

An idea about the problem?

K2: 2.5.7
Joomla 2.5.6
Versions of PHP and MYSQL recent
  • william white
  • william white's Avatar
05 Sep 2012 22:27
Replied by william white on topic K2 Items bar missing in back-end

K2 Items bar missing in back-end

Category: English K2 Community

There are no fatal errors.
Turn it back off

Have you installed something just prior to this happening or did it ever work properly
If it did - look for why
if it never worked properly
Back up your site
reinstall k2
  • william white
  • william white's Avatar
31 Aug 2012 01:05
Replied by william white on topic [SOLVED] Cannot import Joomla! content into K2

[SOLVED] Cannot import Joomla! content into K2

Category: English K2 Community

Fatal error: Call to undefined function mb_internal_encoding() is most likely the problem
Check the information tab on K2 and if mbstring is not enabled, get your host to turn it on as it is required
  • Jerry Laviña
  • Jerry Laviña's Avatar
31 Aug 2012 00:14
Replied by Jerry Laviña on topic [SOLVED] Cannot import Joomla! content into K2

[SOLVED] Cannot import Joomla! content into K2

Category: English K2 Community

Here is the error listing after I clicked the Import button.
Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/k2/k2.php on line 320 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/rokextender/rokextender.php on line 32 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/k2/k2.php on line 27 Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /DATA/www/irriweb/plugins/system/rokcandy/rokcandy.php on line 28 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 14 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in /DATA/www/irriweb/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 24 Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 42 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in /DATA/www/irriweb/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Non-static method RokCandyHelper::getCurrentTemplate() should not be called statically in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 53 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 14 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 18 Strict Standards: Non-static method K2HelperPermissions::checkPermissions() should not be called statically in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 39 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/components/com_k2/helpers/permissions.j16.php on line 19 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/components/com_k2/helpers/permissions.j16.php on line 20 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 66 Strict Standards: Declaration of K2ControllerItems::display() should be compatible with JController::display($cachable = false, $urlparams = false) in /DATA/www/irriweb/administrator/components/com_k2/controllers/items.php on line 16 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/controllers/items.php on line 137 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 977 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 978 Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /DATA/www/irriweb/libraries/joomla/html/parameter.php on line 512 Strict Standards: Declaration of TableK2Category::load() should be compatible with JTable::load($keys = NULL, $reset = true) in /DATA/www/irriweb/administrator/components/com_k2/tables/k2category.php on line 156 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 1025 Fatal error: Call to undefined function mb_internal_encoding() in /DATA/www/irriweb/administrator/components/com_k2/tables/k2category.php on line 92
Displaying 701 - 720 out of 1119 results.