• Resolved myrnatheminx

    (@myrnatheminx)


    After completing the upgrade (1.5.2 to latest version) using the detailed instructions, I get this error message about a plug-in I deactivated and then deleted.

    Fatal error: Call to undefined function: jal_democracy() in /home/.oliver/myrnatheminx/renodiscontent.com/wp-content/themes/punk/index.php on line 144

    Can anyone tell me how to fix this. I was so afraid to upgrade and of course, now that I have tried I am having issues. Thanks so much. Unfortunately, this probably won’t be the last problem I have.

    URL is https://www.renodiscontent.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter myrnatheminx

    (@myrnatheminx)

    Its a theme issue. Maybe its just time to change. It would still be nice to know. Thanks

    You need to edit index.php in your theme. There’s a line there which is trying to load the plugin, and as it’s not there any more, you’re getting the error message.

    Make sure you keep a copy of the file as it is, then remove the line that refers to jal_democracy(). If you’re not sure what to edit, copy the contents of the index.php file to the wordPress pastebin – you’ll be given a unique link when you do that, which you can post back here. We’ll be able to tell you exactly what to remove then.

    For future reference, a good way to avoid problems caused by removing plugins, instead of using a simple call like this:

    <?php jal_democracy(); ?>

    try this:

    <?php if (function_exists(jal_democracy)) jal_democracy(); ?>

    That way, if you disable or delete the plugin, your blog won’t break.

    Thread Starter myrnatheminx

    (@myrnatheminx)

    Best reply I’ve ever gotten here. Very helpful. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrade Problem 1.5.2 to Latest Version’ is closed to new replies.