• Resolved stevemedia

    (@stevemedia)


    At this time all plugins have been disabled, which allows access to the site but photos doesn’t work.
    I get, on a daily basis, a critical error report from my WordPress website.
    This is the line which contains the cause of the error.

    An error of type E_PARSE was caused in line 406 of the file /home/remederb/public_html/wp-content/plugins/wp-photo-album-plus/wppa-setup.php. Error message: syntax error, unexpected ‘)’

    1. Would an uninstall and a subsequent install of the plugin mean I have to start again creating albums, content and uploading the images?
    2. Could you provide a correction to Line 406, and would it be possible for me to edit the existing file using say Notepad?
    3. Could you suggest another solution which could reduce any duplication of work previously done.

    best wishes
    Steve

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

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    De-activate and delete the plugin and just install a new version of the current release.
    You will loose nothing, only the error.

    Thread Starter stevemedia

    (@stevemedia)

    Jacob
    Thank you for your prompt response.
    I’ll get it done a little later today
    Steve

    Thread Starter stevemedia

    (@stevemedia)

    Jacob
    Thank you, exactly as you said.
    All I have to do now is find out why the drop down menus aren’t working.
    Must be another plugin as it’s very recent.
    Thanks again for your help
    Steve

    Thread Starter stevemedia

    (@stevemedia)

    Jacob,
    Having deactivated each and everyone of the plugins, the only plugin when activated that stops the drop down menus from working is WP Photo Album plus.
    I activated the plugins one at a time, tested. The drop-down menus continued to work until I activated WP Photo Album plus.
    Hope you can help me.
    I will leave it activated as visitors can still see the photo albums.

    Steve

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This is most likely a css z-order thing. I will have a look tomorrow, i have to stop now.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I see you de-activated wppa.
    When activated, try adding custom css:

    .menu-item {
      z-index: 100000 !important;
    }
    
    Thread Starter stevemedia

    (@stevemedia)

    Thank you,
    I can activate the plugin no problem, but after that I need baby steps.
    How/Where do I add the custom css ?

    Sorry to be a pain!
    Steve
    P.S. Would this be the place? Just copy and paste “Navigate to Appearance -> Customize section of your dashboard, scroll down to the bottom of the page and click Additional CSS. This will open an in-built tool that will allow you to add any CSS code “.menu-item {
    z-index: 100000 !important;
    }”

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, there you can add custom css. If you have the menu bar at the frontend its even easier.

    You may also need position, so it may become:

    .menu-item {
      z-index: 100000 !important;
      position:relative;
    }
    
    Thread Starter stevemedia

    (@stevemedia)

    Jacob, I’ve tried to publish using both the samples of CSS you supplied.
    It has had no difference to the dropdown menu action
    Somewhat non-plussed at this end.
    If you view the site you will see that sometimes the dropdowns are visible for an instant and gone. Drop downs are configured for “About Us” and “Annual Report”
    https://reme-derbynottingham.org.uk/
    Steve

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    What is your theme? then i can test it out on my dev site

    Thread Starter stevemedia

    (@stevemedia)

    Jacob,
    It’s “Tetris” Version 1.1
    Thank you
    Steve

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Where do i find it? The tetris i found by google caused a fatal error.

    Thread Starter stevemedia

    (@stevemedia)

    Jaco0b,
    This is the one.
    https://themesinfo.com/wordpress-theme-wpex-tetris-i11

    “The tetris i found by google caused a fatal error”
    That was where I started, after many years with no problems. It was only after I reinstalled Photo Album on your instructions did it start to work again, less of course the dropdown menus.
    Steve

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This looks a commercial theme.
    Sorry, i am not willing to pay for it.
    If you do not activate wppa, or not supply me a free copy of the theme, i can not help you

    Thread Starter stevemedia

    (@stevemedia)

    Thank You for your patience and help so far.
    If by commercial you mean it now costs money, I’m a little surprised, it was free when I first installed it.
    Not withstanding, how do I activate wppa, and what would it do?

    I will see if I can track the original zip file of Tetris, but. I don’t think. I’ll be a successful.
    Steve

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Critical Error, website can’t load’ is closed to new replies.