• synthezoid

    (@synthezoid)


    Not a major deal but maybe worth pointing out as I keep getting warnings:

    DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 183 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 182 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 180 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 177 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 176 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 174 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 171 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 170 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:44
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 168 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 183 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 182 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 180 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 177 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 176 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 174 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 171 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 170 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms DATE: 13-Mar-2024 08:27:43
    MESSAGE TYPE: Warning
    PROBLEM DESCRIPTION: Trying to access array offset on value of type bool
    SCRIPT NAME: Native.php
    LINE: 168 SCRIPT LOCATION: [path redacted]/wp-content/plugins/photonic/Platforms
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Did this just start, or have you been getting this for a couple of weeks now? (I know that you just started with Photonic a few weeks ago)

    The reason I ask is because these lines should not give you this error unless you have a conflicting plugin, which I have not seen happen for many years. These lines contain very simple logic, to access $thumbs[$id][1], or $tiles[$id][1] etc. The warning would be coming only if something has modified the value of $id, which shouldn’t be happening from within Photonic – those refer to the ids of attachments, and are always numeric.

    Plugin Author Sayontan Sinha

    (@sayontan)

    I looked into this a little more – the warning might also be coming if the main_size or tile_size or thumb_size are missing. This typically would happen if you switched themes, and your new theme doesn’t have the image sizes used by your old theme.

    If the above is the case, the fix on the Photonic side is relatively simple, I hope. You may want to edit your gallery / galleries via the Wizard, and on the screen that says “Configure Your Layout”, pick a value that is showing in the dropdowns currently.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warnings from photonic’ is closed to new replies.