• I’m using PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS ). I get a MyPHP::val fatal error when I try to activate the plugin. Not sure if it’s just not initializing the MyPHP class on activation or what. It seems that Val() may be one of the first calls in the sequence. Any help would be appreciated, I love this plugin, have used it for years until I started seeing this problem a couple years ago on a 14.04 Ubuntu / PHP 5 installation.

    Thank you for keeping on with this product, even though I can’t currently use it, it’s been around so long because it’s by far the very best at what it does.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Dirty Bill

    (@dirty-bill)

    Here’s the actual error reported on activation attempt:
    Fatal error: Uncaught Error: Call to undefined method MyPHP::val() in /<mypath>/wp-content/plugins/feedwordpress/feedwordpress.php:2526 Stack trace: #0 /<mypath>/wp-content/plugins/feedwordpress/feedwordpress.php(1451): FeedWordPress::val('shutdown') #1 /<mypath>/wp-content/plugins/feedwordpress/feedwordpress.php(265): FeedWordPress->automatic_update_hook() #2 /<mypath>/wp-admin/includes/plugin.php(1897): include('/<mypath>...') #3 /<mypath>/wp-admin/plugins.php(172): plugin_sandbox_scrape('feedwordpress/f...') #4 {main} thrown in /<mypath>/wp-content/plugins/feedwordpress/feedwordpress.php on line 2526

    Any help would be appreciated, would love to be using this again.

    Thread Starter Dirty Bill

    (@dirty-bill)

    Ok, tracked activation issues down to the auto-update initialization:

    # Cron-less auto-update. Hooray!
    // $autoUpdateHook = $feedwordpress->automatic_update_hook();
    // if (!is_null($autoUpdateHook)) :
    // add_action($autoUpdateHook, array($feedwordpress, ‘auto_update’));
    // endif;

    I commented it out and feedwordpress now activates. Has something to do with not finding the MyPHP::val function when it initializes. Testing to see if it works or if the val() call is still an issue further into the program.

    I have a suspicion that whatever info is in the meta storage (or tables, no idea where the settings/params are stored for FWP). Once activated all of my feeds from 2 years ago are there…guessing the old settings for the previous version are too.

    Update: Ok, deleted FWP, Went into mysql and deleted all FWP entries and reinstalled. This time, it installs and activates just fine, BUT, this error when trying to add a feed, update a feed, etc.: Fatal error: Uncaught Error: Call to undefined method MyPHP::val()

    • This reply was modified 7 years, 1 month ago by Dirty Bill.
    • This reply was modified 7 years, 1 month ago by Dirty Bill.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error – MyPHP::val’ is closed to new replies.