Title: Fatal Error &#8211; MyPHP::val
Last modified: February 2, 2018

---

# Fatal Error – MyPHP::val

 *  [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * (@dirty-bill)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-myphpval/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-myphpval%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * (@dirty-bill)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-myphpval/#post-9934405)
 * 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](https://wordpress.org/support/users/dirty-bill/)
 * (@dirty-bill)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-myphpval/#post-9934461)
 * 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 8 years, 4 months ago by [Dirty Bill](https://wordpress.org/support/users/dirty-bill/).
    -  This reply was modified 8 years, 4 months ago by [Dirty Bill](https://wordpress.org/support/users/dirty-bill/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error – MyPHP::val’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 2 replies
 * 1 participant
 * Last reply from: [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-myphpval/#post-9934461)
 * Status: not resolved