Vreau sa fac trecerea la PHp.7.0. Exista compatibilitate cu aceasta versiune a temei.
Am verificat cu php compatibility si am gasit urmatoarea eroare
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/themes/Newspaper/includes/wp_booster/external/less.php-master/lib/Less/SourceMap/Base64VLQ.php
————————————————————————————————————————————————————-
FOUND 3 ERRORS AFFECTING 1 LINE
————————————————————————————————————————————————————-
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
————————————————————————————————————————————————————-
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/themes/Newspaper/includes/wp_booster/external/less.php-master/lib/Less/Parser.php
————————————————————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
————————————————————————————————————————————————
470 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
471 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
478 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
————————————————————————————————————————————————
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_translate.php
—————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————
263 | WARNING | Function name “__td” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
—————————————————————————————————————————————
De asemenea la modulul composer exista aceasta notificare
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/plugins/js_composer/include/templates/editors/popups/shared-templates/category.tpl.php
————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
————————————————————————————————————————————————————-
134 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- post_id %>”
135 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %>”
141 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %></button>
149 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- post_id %>"]” titl…
160 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- id %>”>
162 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- thumbnailUrl %>” alt=””…
165 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- previewUrl %>” data-tit…
167 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% if (!downloaded) { %>
171 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } else if (downloaded &&…
175 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } %>
180 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- title %></span>
182 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= status %>
————————————————————————————————————————————————————-
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/plugins/js_composer/include/templates/editors/partials/backend-shortcodes-templates.tpl.php
———————————————————————————————————————————————————-
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
———————————————————————————————————————————————————-
44 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= type %>”>
45 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= heading %></div>
47 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= form_element %>
———————————————————————————————————————————————————-
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/plugins/js_composer/include/templates/teaser.html.php
————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————————————————
84 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= id %>” src=”<%= url %>”…
————————————————————————————————————————————————————
FILE: /home/r36314stir/web/infoalert.ro/public_html/wp-content/plugins/js_composer/js_composer.php
————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————–
220 | ERROR | Visibility for magic method __sleep must be public. Found: private
————————————————————————————————–
Hello,
Compatibility with php 7.0 was added in newspaper 7.6 so please update your theme using this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/
As for visual composer, sorry but we are not the plugin author. Compatibility with php 7 must be added by the plugin author as we cannot edit the plugin ourselves. It will break our license agreement with wpbakery.
Multumesc