• Resolved TungstenE2

    (@tungstene2)


    updating latest version causes fatal error.

    Fatal error: Call to undefined function OPTIONAL_SETTING() in /home/htdocs/web28/html/flogr/admin/config.php on line 27

    why does the plugin try to updated files on server not belonging to wp installation?

    any ideas how to fix this? plugin is now disabled.

    http://wordpress.org/extend/plugins/wp-piwik/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author braekling

    (@braekling)

    WP-Piwik does not change any files, neither its own nor foreign files. WordPress’ own update feature just downloads the latest WP-Piwik zip and unzips it to the plugin directory.

    Maybe you can tell me something about your configuration and why WP-Piwik should affect files outside WordPress?

    Thread Starter TungstenE2

    (@tungstene2)

    i run WP 3.5.1 as CMS for two different projects.
    I updated WP and plugins frequently.

    Today I updated automatically 4 plugins. Result was white screen of death.
    I disabled all plugins in DB in order to access the admin dashboard again.
    One by one I enabled the plugins again. All worked fine, execpt the updated wp-piwik. I get the error message: Fatal error: Call to undefined function OPTIONAL_SETTING() in /home/htdocs/web28/html/flogr/admin/config.php on line 27

    Sorry, I was wrong about updating. But why is the plugin trying to call config.php of flogr? it is not part of wp installtion. I only call this in an iframe on one of my pages. wp-piwik was working fine with previous version.

    Thread Starter TungstenE2

    (@tungstene2)

    same error with version 0.9.9.5

    Plugin Author braekling

    (@braekling)

    WP-Piwik itself does not call flogr’s config. But it come’s with its own config file.

    Maybe you are using a particular include path configuration or something similar?

    Can you tell me what flogr is for?

    Thread Starter TungstenE2

    (@tungstene2)

    flogr creates a flickr galery.

    did not have an issue prior the version 0.9.9.4
    flogr is running for one year and wp-piwik was
    working perfect until update to version 0.9.9.4.

    any idea?

    where can i get old version of wp-piwik. currently
    tracking is disabled… 🙁

    many thanks.

    Thanks for this excellent plugin!

    The latest version ends with a fatal error on line 5 of piwik.php

    This is there:
    $arySettings = wp_piwik::loadSettings();

    Looking at the class in wp-piwik.php, it does not seem to contain a loadSettings method, so is that the reason for the error?

    Oh and by the way, shouldn’t the class be wrapped in an ‘if !class_exists’ statement?

    Plugin Author braekling

    (@braekling)

    Chris: Fixed in 0.9.9.6

    Tungsten: 0.9.9.6 will try to load its config by an absolute path. Maybe this will work. Anyhow you should check your server settings. New issues are conceivable if every script will load the flogr config.php instead of their own config files.

    Thread Starter TungstenE2

    (@tungstene2)

    thanks, 0.9.9.6 fixes the error.

    thanks for the nice plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘update calls fatal error’ is closed to new replies.