Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lewisMIRIAD

    (@lewismiriad)

    To try and test things out more I set up a brand new WordPress multisite network… checked that it was working OK and then uploaded and network enabled the Newspaper and child theme supplied by the developer… and I’m still getting the same error if I try to activate the child theme.

    PHP Fatal error: Cannot redeclare _verifyactivate_widget() (previously declared in /home/miriadmm/public_html/harts/wp-content/themes/Newspaper-child/functions.php:30) in /home/miriadmm/public_html/harts/wp-content/themes/Newspaper/functions.php on line 208

    What’s more… every time I try to activate a new theme – including the WordPress defaults – e.g. http://harts-new.harts.online/wp-admin/themes.php?action=activate&stylesheet=twentysixteen&_wpnonce=5c1957115d
    my admin page just shows the white screen of death and I have to edit back the url tohttp://harts-new.harts.online/wp-admin/themes.php to show the Appearance page in the Dashboard again… though it confirms the new theme has been activated.

    Very odd behaviour…

    I’m hosting on a Hostmonster VPS if anyone has any similar experiences?

    Thread Starter lewisMIRIAD

    (@lewismiriad)

    Thanks Rajan

    I’ve tried all the above suggestions – but it hasn’t resolved the issue.

    Checking the error_log shows the following error when I try to activate the child theme:

    [24-Jan-2018 14:03:45 UTC] PHP Fatal error: Cannot redeclare _verifyactivate_widget() (previously declared in /home/miriadmm/public_html/harts/wp-content/themes/Newspaper-child/functions.php:30) in /home/miriadmm/public_html/harts/wp-content/themes/Newspaper/functions.php on line 208

    I was also getting the following error:

    [24-Jan-2018 14:00:49 UTC] PHP Warning: include(/home/miriadmm/public_html/harts/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/miriadmm/public_html/harts/wp-settings.php on line 84

    but I’ve since renamed the advanced-cache.php file and commented out the reference to it in wp-settings.php

    and that error is no longer showing.

    I have no plugins loading – I’ve renamed the folder to ‘plugins-new’.

    I’ve also disabled all themes bar the default ‘twentysixteen’, ‘newspaper’ and ‘newspaper-child’ by renaming the original ‘themes’ folder to ‘themes-new’, creating a new ‘themes’ folder and copying the above themes into it.

    Any further suggestions appreciated – I’m still stuck.

    Best

    Lewis

    Thread Starter lewisMIRIAD

    (@lewismiriad)

    I’ve spent all morning trying to resolve this… forcing WP db upgrades; changing upload paths in site ‘Settings’; searching and replacing upload paths in db table entries; and even attempting to export single sites from the old network configuration and reimporting them into the new…

    In the end it turned out to be a single line of code excluded from the main .htaccess file which doesn’t seem to be included in the WP 4.3.1 .htaccess file code generated through setting up a multisite…

    So I added

    #uploaded files
    RewriteRule ^files/(..+) wp-includes/ms-files.php?file=$1 [L]

    before
    # add a trailing slash to /wp-admin

    and my media library and images in posts now work… phew!

    Found the answer here – https://wordpress.org/support/topic/multisite-image-upload-path-problem – thanks.

    Thread Starter lewisMIRIAD

    (@lewismiriad)

    Hey jhester2212

    It’s good to know others are having similar issues… though sorry you’re having similar issues 😉

    I actually think I noticed this happening before my fresh install – in the fairly well documented 4.3 update bug. My issue seems to be in installing WP 4.3.1. but linking to a older database. If this known issue was resolved in the database update from 4.3 to 4.3.1 then I’ve somehow managed to sidestep this step. But I’m now not sure how to force an update of the WP database – reinstalling WP 4.3.1 doesn’t do it.

    Re your ‘folders were not created.’ point… I had an existing /wp-content/uploads/sites/23/2015/09/ folder – and the test image and it’s various resizings were copied into that… I’ll try on another network site that doesn’t have a current month folder and see if I can duplicate your problem.

    I’ve since posted this as a request to envatostudio freelancers who say they specialise in WordPress bugs… but I’ve had no response so far.

    Really stuck on this… If you find a resolution please let me know.

    Best

    Lewis

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