elexandri
Forum Replies Created
-
Hi..
The problem was with checkpoint on the hosting server.
For some reason the first redirect after updating the team, was treated as an
sql injection.Hi,
I did that. It didn’t work.
This is the problem.`The first time that I press save, the url changes from
https://promitheaskae.ergologic.gr/wp-admin/post.php?post=75&action=edit
to
https://promitheaskae.ergologic.gr/wp-admin/post.php.
The second time I press save after returning to the edit screen, the ulr stays as it was and it should be, and that is why this time it works correctly.
https://promitheaskae.ergologic.gr/wp-admin/post.php?post=75&action=edit&message=1`I am tracing the steps that the code goes through after pressing the Update button, both in wordpress php files and js files.
Never mind the last post.
I restored a backup of the site, and the FATAL ERROR: UNCAUGHT TYPEERROR
disappeared.Ι forgot to mention, that after reactivating the plugins and change back to the correct theme, I get this error too.
`FATAL ERROR: UNCAUGHT TYPEERROR: IMPLODE(): ARGUMENT #2 ($ARRAY) MUST BE OF TYPE ?ARRAY, STRING GIVEN IN /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/THEMES/TOPCLUB-SP/SPORTSPRESS/EVENT-BLOCKS.PHP:136 STACK TRACE: #0 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/THEMES/TOPCLUB-SP/SPORTSPRESS/EVENT-BLOCKS.PHP(136): IMPLODE() #1 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/PLUGINS/SPORTSPRESS/INCLUDES/SP-CORE-FUNCTIONS.PHP(80): INCLUDE(‘…’) #2 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/PLUGINS/SPORTSPRESS/INCLUDES/WIDGETS/CLASS-SP-WIDGET-EVENT-BLOCKS.PHP(41): SP_GET_TEMPLATE() #3 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/CLASS-WP-WIDGET.PHP(393): SP_WIDGET_EVENT_BLOCKS->WIDGET() #4 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/WIDGETS.PHP(831): WP_WIDGET->DISPLAY_CALLBACK() #5 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/THEMES/TOPCLUB-SP/SIDEBAR.PHP(5): DYNAMIC_SIDEBAR() #6 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/TEMPLATE.PHP(770): REQUIRE_ONCE(‘…’) #7 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/TEMPLATE.PHP(716): LOAD_TEMPLATE() #8 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/GENERAL-TEMPLATE.PHP(136): LOCATE_TEMPLATE() #9 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/THEMES/TOPCLUB-SP/PAGE.PHP(41): GET_SIDEBAR() #10 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-INCLUDES/TEMPLATE-LOADER.PHP(106): INCLUDE(‘…’) #11 /VAR/WWW/HTML/PROMITHEAS/KAE/WP-BLOG-HEADER.PHP(19): REQUIRE_ONCE(‘…’) #12 /VAR/WWW/HTML/PROMITHEAS/KAE/INDEX.PHP(17): REQUIRE(‘…’) #13 {MAIN} THROWN IN /VAR/WWW/HTML/PROMITHEAS/KAE/WP-CONTENT/THEMES/TOPCLUB-SP/SPORTSPRESS/EVENT-BLOCKS.PHP ON LINE 136
THERE HAS BEEN A CRITICAL ERROR ON THIS WEBSITE.`Hi,
So I asked the theme’s support and they weren’t very helpful.
They gave me this reply:`The theme does not modify or affect the admin area anyhow. Only frontend is changed. It is unlikely that the theme could cause such an issue.
“Your theme has bundled outdated copies of SportsPress template files…” message can be ignored at this point. It can’t be the reason for your issue since it is related to the frontend. This shouldn’t raise any other issues as well.
It can be a plugin conflict. You may try to do the following:
Switch to any default theme and check whether SportSpress posts editing screen works. If it still doesn’t work, start deactivating plugins one by one and check whether SportSpress posts editing screen works after each deactivated plugin. Do not activate the plugins back unless you reached the last one or found the one that caused the issue.`Deactivating the plugins and changing theme didn’t fix the problem.
I think the problem is that the first time that I press save, the url changes from
https://promitheaskae.ergologic.gr/wp-admin/post.php?post=75&action=edit
to
https://promitheaskae.ergologic.gr/wp-admin/post.php.
The second time I press save after returning to the edit screen, the ulr stays as it was and it should be, and that is why this time it works correctly.
https://promitheaskae.ergologic.gr/wp-admin/post.php?post=75&action=edit&message=1Could this be related to SportsPress plugin, maybe how it uses the permalinks?
- This reply was modified 3 years, 1 month ago by elexandri.
Hi @savvasha. Thanks for the fast reply.
I will try the updates concerning the deprecated parameters.I tried the TwentyTwenty theme, and the error in edit mode persisted.
Max input vars limit is also in the specified range.These warnings also appear.
In appearance -> themes
Your theme has bundled outdated copies of SportsPress template files – if you encounter functionality issues on the frontend this could the reason. Ensure you update or remove them (in general we recommend only bundling the template files you actually need to customize). See the system report for full details.In System status, template overrides (sportspress)
In sportspress system status I get this:
event-blocks.php version 2.6.15 is out of date. The core version is 2.7.3,
team-gallery-thumbnail.php,
team-gallery.php,
team-staff.php`When I deactivate and reactivate the plugin I get this warning too in plugins page.
The plugin generated 657 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.