Update to 5.6.2.1 causes problems with stacks

Permalink
Hi there - I updated my version to the latest 5.6.2.1 today - previous was a couple behind but have been having trouble with Stacks - The stacks page does not display fully - No CSS just a few - but not all - basic links.

Some but not all stacks still appear in the site.

I can edit a stack from within a page.

I can't add a stack though.

The only way to get a stack in is from ones copied to the clipbaord.

On doing this I got this message

Warning: Missing argument 1 for Concrete5_Controller_Block_CoreStackDisplay::on_page_view(), called in /home/sites/rivercatcher.co.uk/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/blocks/core_scrapbook_display.php on line 42 and defined in /home/sites/rivercatcher.co.uk/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/blocks/core_stack_display.php on line 49

I'm a basic user but would someone know what the missing argument was?

I have deleted all the stacks I can get to - in case it was those but as mentioned can't access the others.

Any help would be great.

All the best

Oly

 
JohntheFish replied on at Permalink Reply
JohntheFish
Are you sure the update completed? What does your environment information and config/site say about the evrsion the site is running?
olstdigital replied on at Permalink Reply
Hi JohntheFish

Thanks for getting back to me

Indeed it certainly said it had.

Here is the Environment Info

# concrete5 Version
5.6.2.1

# concrete5 Packages
Bootstrap Carousel (2.1.1.1), Email List Signup (1.5.5), Gallery (1.8.1), Image Slider (1.1), Slate Theme (1.4).

# concrete5 Overrides
None

# Server Software
Apache/2.4.6 (Unix)

# Server API
cgi-fcgi

# PHP Version
5.3.26

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mssql, mysql, mysqli, mysqlnd, OAuth, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 64M
ldap.max_links - Unlimited
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Many thanks

Oly
JohntheFish replied on at Permalink Reply
JohntheFish
And does config/site.php give the same version on the last line of the file?
olstdigital replied on at Permalink Reply
Hi John - Yes it does

php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');
JohntheFish replied on at Permalink Reply
JohntheFish
If you have not already done so, clear the cache and disable all caches. (and clear again, just to make sure).

Then you could try re-running the updater manually. There will be instructions in the readme or install file that comes in the installation zip for any c5 version.

There is definitely something wrong, because the function on_page_view() is not declared to have any arguments, and to my knowledge, never has had any arguments, so a complaint that an argument is missing seems completely anomalous.
olstdigital replied on at Permalink Reply
Hi JohntheFish

Thanks for the help - I manually reinstalled but it said that it was already up to date and rerunning the script did not affect the issue.

I might roll back to how it was before the update and try it again...

Unless you have any more ideas - Thanks for the help though - much appreciated.

Oly
aghouseh replied on at Permalink Reply
aghouseh
I'm seeing the same exact issue.
olstdigital replied on at Permalink Reply
Hi Aghouseh

This threads been on about a week now and no extra help - Let me know if you resolved the issue.

I'm about to roll back to a previous version and try again but hoping for a last minute fix.

Cheers

Oly