• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: CG_RSS_Reader: Warning: A non-numeric value encountered
PostPosted: Thu Feb 07, 2019 8:09 pm 
Power Poster
Power Poster
User avatar

Joined: Thu Mar 23, 2006 9:25 am
Posts: 1870
Location: The Netherlands
After a update of the core to version 2.9.1 I encounter the following warning:
Warning: A non-numeric value encountered in localhost/modules/CG_RSS_Reader/lib/class.SimplePie.php on line 15197

The line the warning refers to is:
// Convert the number of seconds to an integer, taking decimals into account
$second = round($match[6] + $match[7] / pow(10, strlen($match[7])));

The template I use to show the Youtube rssfeed:
<div class="section-cols lazy">
    <div class="row">
            {$xml = simplexml_load_file('https://www.youtube.com/feeds/videos.xml?user=gjdgraaf')}
            {assign var='datasrc' value=0}
            {assign var='parallax' value=0}
            {assign var='parallax_thumb' value=''}
            {foreach from=$feeds item=onefeed}
                {$enclosure = $onefeed->get_enclosure()}
                <div class="col-6">
                    <div class="card card-background lazy" data-bg="url({$youtube_thumb})">
                        <div class="card-body">
                         <div class="card-title text-left">
                         <div class="card-footer text-left">
                            <div class="stats">
                                  <i class="now-ui-icons media-2_sound-wave"></i>
                                  {svg use="calendar"} &nbsp; <span class="text-muted">{$onefeed->get_date()|date_format:"%d/%m/%Y %H:%M"}</span>
                            <div class="stats-link pull-right">                               
                               <a href="{$onefeed->get_permalink()}" class="badge badge-primary">Bekijk video</a>

The admin-log doesn't show any messages related to the warning.

System info:


Cms Version:

Installed Modules:

AceEditor2: 1.05
AdminSearch: 1.0.4
CGBetterForms: 1.9
CGBlog: 1.15.8
CGContentUtils: 2.2.3
CGExtensions: 1.61.4
CGFeedback: 2.2.1
CGSimpleSmarty: 2.2.1
CGSmartImage: 1.22.5
CG_RSS_Reader: 1.0.4
CMSContentManager: 1.1.7
Captcha: 1.0
CmsJobManager: 0.1.3
DesignManager: 1.1.5
FileManager: 1.6.8
FilePicker: 1.0.3
Gallery: 2.3.2
Gbook: 2.2.6
HitCounter: 2.1.2
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.5
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.6
SitemapMgr: 1.5.4
UpUtils: 0.1.0

Config Information:

php_memory_limit: 128000000
max_upload_size: 2000000
url_rewriting: mod_rewrite
query_var: page
auto_alias_content: true
set_names: true
timezone: Europe/Amsterdam
permissive_smarty: true

Php Information:

phpversion: 7.1.19
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128000000
max_execution_time: 30
register_globals: Off (False)
output_buffering: 0
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /var/tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)

Server Information:

Server Software: Apache/2.4.34 (Unix) PHP/7.1.19
Server Api: apache2handler
Server Os: Darwin 18.0.0 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 8.0.11
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!

Permission Information:

tmp: localhost/tmp (0755)
tmp_cache: localhost/tmp/cache (0755)
templates_c: localhost/tmp/templates_c (0755)
modules: localhost/modules (0755)
uploads: localhost/uploads (0755)
File Creation Mask (umask): localhost/tmp/cache (0755)
config_file: 0444


Any thoughts on what is the root cause?

Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting